public boolean isOsInFamily(String osType, String osFamily) {
      String familyOfOsType = find_family(osType);
      return (familyOfOsType != null && isFamilyExtendedByFamily(familyOfOsType, osFamily));
    }
Form list of all supported os types
@return one dimension list with os types
ambari-server/src/main/java/org/apache/ambari/server/state/stack/OsFamily.java