class CookbookUtils {

  public static boolean isKnownType(Cookbook cookbook, String type) {
    return CookbookUtils.isPrimitiveType(type)
        || CookbookUtils.isFlagType(type)
        || CookbookUtils.isEnumType(cookbook, type);
  }

}