code: public static void setSystemPropertyIfIsNull(String key, Object value) {
          if (!System.getProperties().containsKey(key))
              System.setProperty(key, value.toString());
      }
docs: Sets system property if is null.
  
  @param key   the key
  @param value the value