code: public boolean shouldShowType(String contextKey, String typeName) {
  
          Map<String, CmsDefaultSet<String>> allowedContextMap = safeGetAllowedContextMap();
          CmsDefaultSet<String> allowedContexts = allowedContextMap.get(typeName);
          if (allowedContexts == null) {
              return true;
          }
          return allowedContexts.contains(contextKey);
      }
docs: Helper method to check whether a given type should not be shown in a context.<p>
  
  @param contextKey the key of the template context
  @param typeName the type name
  
  @return true if the context does not prohibit showing the type