# Function extractBooleanField

- extractBooleanField(payload: Record<string, unknown>, field: string): boolean

  Extracts a boolean field from a payload object safely.

  #### Parameters

  - payload: Record<string, unknown>

    The payload object to extract from

  - field: string

    The field name to extract

  #### Returns boolean

  The boolean value (defaults to false if not found/invalid)

  - Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-helpers.ts:62