Umil.permission exists

umil::permission_exists –– Check if a permission setting exists using the Umil Library.

Description
string umil::permission_exists ( string $auth_option [, boolean $global ] )

Return Values
True if the permission setting exists False if the permission setting does not exist

Example #1
Check if a global permission setting named 'a_test_mod' exists $umil->permission_exists('a_test_mod');

Example #2
Check if a local permission setting named 'f_test_mod' exists $umil->permission_exists('f_test_mod', false);