public function isMorphMutation($mutation)
    {
        if ( ! is_array($mutation) && isset($this->mutations[$mutation]))
        {
            $mutation = $this->getMutation($mutation);
        }

        return $mutation['type'] === 'morph' || $mutation['type'] === 'morphEager';
    }
public function isMorphMutation($mutation)
    {
        if ( ! is_array($mutation) && isset($this->mutations[$mutation]))
        {
            $mutation = $this->getMutation($mutation);
        }

        return $mutation['type'] === 'morph' || $mutation['type'] === 'morphEager';
    }
public function isMorphMutation ( $ mutation ) { if ( ! is_array ( $ mutation ) && isset ( $ this -> mutations [ $ mutation ] ) ) { $ mutation = $ this -> getMutation ( $ mutation ) ; } return $ mutation [ 'type' ] === 'morph' || $ mutation [ 'type' ] === 'morphEager' ; }
Determine whether this mutation is of the typ 'morph'.

@param  string  $mutation
@return boolean
Determine whether this mutation is of the typ morph .