package com.sap.cloud.lm.sl.cf.core.helpers;

// TODO: Use this class (instead of System.getenv()) in ConfigurationUtil, so that it can be tested.
public class Environment {

    public String getVariable(String name) {
        return System.getenv(name);
    }

}

@@ -39,16 +39,68 @@
 lpers;%0A%0A
+import com.sap.cloud.lm.sl.common.util.CommonUtil;%0A%0A
 // TODO:
@@ -308,10 +308,126 @@
 %0A    %7D%0A%0A
+    public boolean hasVariable(String name) %7B%0A        return !CommonUtil.isNullOrEmpty(System.getenv(name));%0A    %7D%0A%0A
 %7D%0A

Add hasVariable method in Environment class