src/Database/Concerns/Authorizable.php
public function can($ability, $model = null)
    {
        return $this->getClipboardInstance()->check($this, $ability, $model);
    }
public function can($ability, $model = null)
    {
        return $this->getClipboardInstance()->check($this, $ability, $model);
    }
public function can ( $ ability , $ model = null ) { return $ this -> getClipboardInstance ( ) -> check ( $ this , $ ability , $ model ) ; }
Determine if the authority has a given ability.

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