code: public static boolean getCurrentSecurityEnabled()
    {
        boolean enabled = false;
        ICollaboratorHelper instance = getCurrentInstance();
        if (instance != null)
            enabled = ((CollaboratorHelperImpl)instance).isSecurityEnabled();
        return enabled;
    }
docs: /*
  Returns true/false to indicate whether there is a 'real' collaborator registered for the current application (based on the SecurityDomain
  specified by the application).