src/Config.php
public function has(string $key): bool
    {
        try {

            $this->resolve($key);

        } catch( \Exception $exception ){

            return false;
        }

        return true;
    }
public function has(string $key): bool
    {
        try {

            $this->resolve($key);

        } catch( \Exception $exception ){

            return false;
        }

        return true;
    }
See if config has given key.

@param string $key
@return boolean