class CookbookUtils {

  public static boolean isPrimitiveType(String type) {
    try {
      Primitive.fromAlias(type);
      return true;
    } catch (RuntimeException e) {
      return false;
    }
  }

}