langgoap.has_blocking_failure

langgoap.has_blocking_failure#

has_blocking_failure(results)[source]#

Return True if any result has passed=False with severity=BLOCK.

Parameters:

results (list[GuardResult]) – Output of run_guards_sync() or run_guards_async().

Returns:

True when at least one BLOCK-severity failure is present.

Return type:

bool