protected function hasMutator(string $name, string $operator): bool
    {
        return isset($this->mutators[$operator])
            && $this->getMutatorProperties($operator)->has($name);
    }
protected function hasMutator(string $name, string $operator): bool
    {
        return isset($this->mutators[$operator])
            && $this->getMutatorProperties($operator)->has($name);
    }
protected function hasMutator ( string $ name , string $ operator ) : bool { return isset ( $ this -> mutators [ $ operator ] ) && $ this -> getMutatorProperties ( $ operator ) -> has ( $ name ) ; }
Determinate if a mutator exists.

@param string $name
@param string $operator

@return bool
Determinate if a mutator exists .