code/libraries/joomlatools/library/model/state/state.php
public function hasProperty($name, $property)
    {
        $result = false;
        if($this->has($name)) {
            $result = property_exists($this->_data[$name], $property);
        }

        return $result;
    }
public function hasProperty($name, $property)
    {
        $result = false;
        if($this->has($name)) {
            $result = property_exists($this->_data[$name], $property);
        }

        return $result;
    }
public function hasProperty ( $ name , $ property ) { $ result = false ; if ( $ this -> has ( $ name ) ) { $ result = property_exists ( $ this -> _data [ $ name ] , $ property ) ; } return $ result ; }
Check if a state property exists

@param string $name     The name of the state
@param string $property The name of the property
@return boolean   Return TRUE if the the property exists, FALSE otherwise
Check if a state property exists