code: private boolean containsFunctionType(List<String> resourceTypes) {
  
          if (resourceTypes.contains(CmsXmlDynamicFunctionHandler.TYPE_FUNCTION)) {
              return true;
          }
          if (resourceTypes.contains(CmsResourceTypeFunctionConfig.TYPE_NAME)) {
              return true;
          }
          return false;
      }
docs: Checks if the given list of resource type names contains a function-like type.<p>
  
  @param resourceTypes the collection of resource types
  @return true if the list contains a function-like type