src/AbstractConfig.php
public function has(string ...$path): bool
    {
        try {
            $this->get(...$path);
        } catch (ConfigKeyNotFoundException $e) {
            return false;
        }

        return true;
    }
public function has(string ...$path): bool
    {
        try {
            $this->get(...$path);
        } catch (ConfigKeyNotFoundException $e) {
            return false;
        }

        return true;
    }
public function has ( string ... $ path ) : bool { try { $ this -> get ( ... $ path ) ; } catch ( ConfigKeyNotFoundException $ e ) { return false ; } return true ; }
Check whether the config has a specific key.

@since 1.0.0

@param string ...$path Key, or path segments if key is nested.

@return bool True if the key exists, false otherwise.
Check whether the config has a specific key .