# bool Settlement::IsAlly(int)

[Family: Settlement](/imperivm/en/CKS/familias/settlement/)

## Exact signature

```text
bool Settlement::IsAlly(int)
```

## Description

Settlement IsAlly resolves the settlement owner and tests bit zero of the indexed player-relation table entry.

## Parameters and return type

**Return type:** `bool`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

| Position | Type |
| --- | --- |
| 1 | `int` |

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-84a65044c6684c.md)
- [JSON](/imperivm/CKS/api/entries/api-84a65044c6684c?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
