---
title: "is_exist method"
url: "https://reference.aspose.com/diagram/python-net/aspose.diagram/infinitelinecollection/is_exist/"
product: "Aspose.Diagram for Python via .NET API References"
---


## is_exist(index) {#int}

Is exist item in the collection.

### Returns 





```python
def is_exist(self, index):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| index | int | index of element. |



### See Also
* module [aspose.diagram](../../)
* class [InfiniteLineCollection](/diagram/python-net/aspose.diagram/infinitelinecollection)
