src/Service/ConsulEnvManager.php
private function keyIsDefined(string $environmentKey): bool
    {
        $keyValue = getenv($environmentKey);

        if (false === $keyValue) {
            return false;
        }

        return true;
    }
private function keyIsDefined(string $environmentKey): bool
    {
        $keyValue = getenv($environmentKey);

        if (false === $keyValue) {
            return false;
        }

        return true;
    }
private function keyIsDefined ( string $ environmentKey ) : bool { $ keyValue = getenv ( $ environmentKey ) ; if ( false === $ keyValue ) { return false ; } return true ; }
Check if an environment key is defined.

@param string $environmentKey

@return bool
Check if an environment key is defined .