code: protected function hasMutator($value, $dir = 'setter', $type = null)
      {
          return (bool) $this->getMutator($value, $dir, $type);
      }
docs: Determine whether a mutator exists for the value type.
  
  @param  mixed   $value
  @param  string  $dir
  @return boolean