public function hasMetadata($author, $name)
    {
        return isset($this->metadata[$this->arrayKey($author)][$name]);
    }
public function hasMetadata($author, $name)
    {
        return isset($this->metadata[$this->arrayKey($author)][$name]);
    }
public function hasMetadata ( $ author , $ name ) { return isset ( $ this -> metadata [ $ this -> arrayKey ( $ author ) ] [ $ name ] ) ; }
Check if a specific author metadata is defined.

@param string $author The author.
@param string $name   Metadata name.

@return bool
Check if a specific author metadata is defined .