code: private boolean globalWebAppSecurityConfigHasFormLogin() {
          WebAppSecurityConfig globalConfig = WebAppSecurityCollaboratorImpl.getGlobalWebAppSecurityConfig();
          return globalConfig != null &&
                 globalConfig.getLoginFormURL() != null;
      }
docs: Determine if the global WebAppSecurityConfig has a form login page.
  
  @return {@code true} if the global FORM login page is set