[Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [hasWarehouse](./bitburner.warehouseapi.haswarehouse.md)
## WarehouseAPI.hasWarehouse() method
Check if you have a warehouse in city
Signature:
```typescript
hasWarehouse(adivisionName: string, acityName: string): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| adivisionName | string | |
| acityName | string | |
Returns:
boolean
true if warehouse is present, false if not