# Contract.is\_lib()

`is_lib() → bool`

## Example query

```python
from glider import *

def query():
  libs = Contracts().exec(10).filter(lambda x: x.is_lib())

  return libs
```

## Example output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2F5nPm8eMayXazdxh26MWF%2Fimage.png?alt=media&#x26;token=97a74b3c-3e6e-4b26-bc5a-de9d9cac8fa0" alt=""><figcaption></figcaption></figure>
