code: private boolean simpleReturn(CmsSSLMode mode) {
  
          if (m_server.getValue() == null) {
              return true;
          }
  
          if (mode != null) {
  
              if (mode.equals(CmsSSLMode.NO)) {
                  if (((CmsSite)m_server.getValue()).getUrl().contains("http:")) {
                      return true;
                  }
              } else {
                  if (((CmsSite)m_server.getValue()).getUrl().contains("https:")) {
                      return true;
                  }
              }
          }
          return false;
      }
docs: Checks if adjust methods can early return.<p>
  
  @param mode to be checked.
  @return true if no adjustment is needed