public function has($name)
    {
        return (is_string($name) || is_numeric($name)) && isset($this->data[$name]);
    }
public function has($name)
    {
        return (is_string($name) || is_numeric($name)) && isset($this->data[$name]);
    }
public function has ( $ name ) { return ( is_string ( $ name ) || is_numeric ( $ name ) ) && isset ( $ this -> data [ $ name ] ) ; }
Returns a value indicating whether the enum exists.
@param string $name the name of the enum
@return boolean whether the enum exists
Returns a value indicating whether the enum exists .