docs: private static boolean requiredByPlatformFeature(File baseDir, File testFile) {
          try {
              Map<String, ProvisioningFeatureDefinition> features = new Product(baseDir).getFeatureDefinitions();
              for (ProvisioningFeatureDefinition fd : features.values()) {
                  if (fd.isKernel()) {
                      if (requiredByFile(fd, baseDir, testFile))
                          return true;
                  }
              }
          } catch (Exception e) {
          }
          return false;
      }