public static function hasEnvironmentVariable($name, bool $ignoreCase = false): bool
    {
        if (empty($name) || !is_string($name)) {
            return false;
        }
        
        return (getenv($name) || ArrayUtils::doesArrayHaveValueForKey($_ENV, $name, $ignoreCase));
    }