Data/DataContainer.php
public function isValidProperty(string $property)
    {
        if (!empty($this->validProperties) && !array_key_exists($property, $this->validProperties)) {
            return false;
        }

        return true;
    }
public function isValidProperty(string $property)
    {
        if (!empty($this->validProperties) && !array_key_exists($property, $this->validProperties)) {
            return false;
        }

        return true;
    }
public function isValidProperty ( string $ property ) { if ( ! empty ( $ this -> validProperties ) && ! array_key_exists ( $ property , $ this -> validProperties ) ) { return false ; } return true ; }
Check if a property is valid
@param string $property
@return bool
Check if a property is valid