code: private static boolean requiredByOtherFeature(Map<String, ProvisioningFeatureDefinition> features, File baseDir, File testFile) {
          for (ProvisioningFeatureDefinition fd : features.values()) {
              if (requiredByFile(fd, baseDir, testFile))
                  return true;
          }
          return false;
      }
docs: Determine there is another feature requires this resource