security_policy
Validation helpers for security-sensitive Puzzletron configuration.
Functions
Return a policy boolean without accepting truthy strings or numbers. |
- require_boolean_policy(value, *, path)
Return a policy boolean without accepting truthy strings or numbers.
- Parameters:
value (Any)
path (str)
- Return type:
bool