# PgIpLock.hasInstances() method · @imqueue/pg-pubsub

Source: https://imqueue.org/api/pg-pubsub/latest/pg-pubsub.pgiplock.hasinstances/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-pubsub 3.0.5 — generated reference, not hand-written

Returns true if at least one instance was created, false - otherwise

**Signature:**

```typescript
static hasInstances(): boolean;
```
**Returns:**

boolean

