code: public static boolean containsGlobals(Message message, KnowledgeOperation operation, KnowledgeRuntimeEngine runtime) {
          Map<String, Object> expressionMap = getMap(message, operation.getGlobalExpressionMappings(), null);
          return expressionMap != null && expressionMap.size() > 0;
  
      }
docs: Contains the globals.
  
  @param message
  the message
  @param operation
  the operation
  @param runtime
  the runtime engine
  @return containsGlobal