public function is($model)
    {
        return ! is_null($model) &&
               $this->getKey() === $model->getKey() &&
               get_class($this) == get_class($model);
    }
public function is($model)
    {
        return ! is_null($model) &&
               $this->getKey() === $model->getKey() &&
               get_class($this) == get_class($model);
    }
public function is ( $ model ) { return ! is_null ( $ model ) && $ this -> getKey ( ) === $ model -> getKey ( ) && get_class ( $ this ) == get_class ( $ model ) ; }
Determine if two models have the same identifier.

@param  \LaravelWhisper\Whisper\Whisperer|null  $model
@return bool
Determine if two models have the same identifier .