src/BaseClipboard.php
public function check(Model $authority, $ability, $model = null)
    {
        return (bool) $this->checkGetId($authority, $ability, $model);
    }
public function check(Model $authority, $ability, $model = null)
    {
        return (bool) $this->checkGetId($authority, $ability, $model);
    }
public function check ( Model $ authority , $ ability , $ model = null ) { return ( bool ) $ this -> checkGetId ( $ authority , $ ability , $ model ) ; }
Determine if the given authority has the given ability.

@param  \Illuminate\Database\Eloquent\Model  $authority
@param  string  $ability
@param  \Illuminate\Database\Eloquent\Model|string|null  $model
@return bool
Determine if the given authority has the given ability .