public function has(string $name) : bool
    {
        try {
            $result = $this->configCommand($name);
        } catch (RuntimeException $exception) {
            return false;
        }

        return $result->isSuccessful();
    }
public function has(string $name) : bool
    {
        try {
            $result = $this->configCommand($name);
        } catch (RuntimeException $exception) {
            return false;
        }

        return $result->isSuccessful();
    }
public function has ( string $ name ) : bool { try { $ result = $ this -> configCommand ( $ name ) ; } catch ( RuntimeException $ exception ) { return false ; } return $ result -> isSuccessful ( ) ; }
Does git have a configuration key.

@param  string $name
@return boolean
Does git have a configuration key .