src/main/php/Properties.php
public function containValue(string $section, string $key): bool
    {
        if (isset($this->propertyData[$section]) && isset($this->propertyData[$section][$key])) {
            return true;
        }

        return false;
    }
public function containValue(string $section, string $key): bool
    {
        if (isset($this->propertyData[$section]) && isset($this->propertyData[$section][$key])) {
            return true;
        }

        return false;
    }
public function containValue ( string $ section , string $ key ) : bool { if ( isset ( $ this -> propertyData [ $ section ] ) && isset ( $ this -> propertyData [ $ section ] [ $ key ] ) ) { return true ; } return false ; }
checks if a certain section contains a certain key

@api
@param   string  $section  name of the section
@param   string  $key      name of the key
@return  bool
@since   4.0.0
checks if a certain section contains a certain key