code: private CCOWStatus getCCOWStatus() {
          if (ccowContextManager == null) {
              return ccowEnabled ? CCOWStatus.NONE : CCOWStatus.DISABLED;
          } else if (ccowTransaction) {
              return CCOWStatus.CHANGING;
          } else {
              switch (ccowContextManager.getState()) {
                  case csParticipating:
                      return CCOWStatus.JOINED;
                  case csSuspended:
                      return CCOWStatus.BROKEN;
                  default:
                      return CCOWStatus.NONE;
              }
          }
      }
docs: Returns the current status of the CCOW common context. Return values correspond to possible
  states of the standard CCOW status icon.
  
  @return Status of the CCOW common context.