# FLOCK::_IS_HERD_VALID

- **Hash:** `0x8D913E493BAFE0A3`
- **Namespace:** FLOCK
- **Runtime name (Lua/JS):** `IsHerdValid`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/FLOCK/_IS_HERD_VALID

## Signature

```c
BOOL _IS_HERD_VALID(ScrHandle herdHandle);
```

## Parameters

- `herdHandle` (`ScrHandle`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsHerdValid(herdHandle)

-- always available, by hash
local retval = Citizen.InvokeNative(0x8D913E493BAFE0A3, herdHandle, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsHerdValid(herdHandle);

// by hash
const retval = Citizen.invokeNative('0x8D913E493BAFE0A3', herdHandle, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x8D913E493BAFE0A3, herdHandle);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
