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;
    }
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 ; }
Determine there is another feature requires this resource