# bool Settlement::IsEnemy(int)

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

## Exact signature

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

## Description

Returns the inverse low-bit predicate from a player relation table for a valid settlement.

## 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-273f6884ec5557.md)
- [JSON](/imperivm/CKS/api/entries/api-273f6884ec5557?lang=en)

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