public function hasContent($key)
    {
        $content = $this->getContent();
        return is_array($content) && isset($content[$key]);
    }
public function hasContent($key)
    {
        $content = $this->getContent();
        return is_array($content) && isset($content[$key]);
    }
public function hasContent ( $ key ) { $ content = $ this -> getContent ( ) ; return is_array ( $ content ) && isset ( $ content [ $ key ] ) ; }
Checks if content with provided name exists
@param $key string Name of the content parameter
@return bool
@since 2.0.10
Checks if content with provided name exists