code: private boolean hasSubject(String subject) {
          boolean result = false;
          String s = subject + ".";
          int c = s.length();
  
          for (String propName : contextItems.getItemNames()) {
              result = s.equalsIgnoreCase(propName.substring(0, c));
  
              if (result) {
                  break;
              }
          }
  
          return result;
      }
docs: Returns true if the CCOW context contains context settings pertaining to the named subject.
  
  @param subject Name of the CCOW subject
  @return True if settings for the specified subject were found.