code: static boolean hasSystemPropertyVariable(String variable) {
          final String path = System.getProperty(variable);
          if (path != null) {
              return true;
          }
          return false;
      }
docs: Checks for system property variable.
  
  @param variable the variable
  @return true, if successful