src/Database/Titles/AbilityTitle.php
protected function isGlobalActionAbility(Model $ability)
    {
        return $ability->name !== '*'
            && $ability->entity_type === '*'
            && is_null($ability->entity_id);
    }
protected function isGlobalActionAbility(Model $ability)
    {
        return $ability->name !== '*'
            && $ability->entity_type === '*'
            && is_null($ability->entity_id);
    }
protected function isGlobalActionAbility ( Model $ ability ) { return $ ability -> name !== '*' && $ ability -> entity_type === '*' && is_null ( $ ability -> entity_id ) ; }
Determines whether the given ability allows an action on all models.

@param  \Illuminate\Database\Eloquent\model  $ability
@return bool
Determines whether the given ability allows an action on all models .