Classes/Settings/Settings.php
public function has(string $key): bool
    {
        if (strpos($key, '.') != false) {
            return $this->getNested($key) != null;
        }

        return array_key_exists($key, $this->settings);
    }
public function has(string $key): bool
    {
        if (strpos($key, '.') != false) {
            return $this->getNested($key) != null;
        }

        return array_key_exists($key, $this->settings);
    }
public function has ( string $ key ) : bool { if ( strpos ( $ key , '.' ) != false ) { return $ this -> getNested ( $ key ) != null ; } return array_key_exists ( $ key , $ this -> settings ) ; }
Checks if a key is present in the settings.

@param string $key The key to check for

@return bool
Checks if a key is present in the settings .