code: static <T extends ContentMeta> boolean matches(Path path, T content, PathSelector pathSelector1,
              ResourceSelector<T> resourceSelector1) {
          return matches(path, content, pathSelector1, true, resourceSelector1, true);
      }
docs: Return true if the path and content match the specified path selector and resource selector
  
  @param path              path
  @param content           content
  @param pathSelector1     selector, or null matches all paths
  @param resourceSelector1 resource selector, or null matches all resources
  @param <T>               type
  
  @return true if both match