/**
* Gets the value (true, false, or int) of the specified permission if it exists.
* Used for global permissions which have a group and an individual permission.
*
* @param array $permissions Grouped permissions ([group][permission] => value)
* @param string $group Permission group
* @param string $permission Permission ID
*
* @return true|false|int False if the permission isn't found; the value of the permission otherwise
*/
public static function hasPermission(array $permissions, $group, $permission)
{