is_allowed
Method
This is a method of the PermissionAllowlist class in the approval module.Check if a tool is allowed.
Signature
Parameters
Name of the tool
Optional path to check against allowed paths
Returns
True if tool is allowed (optionally for the given path)

