public static boolean check_type_exist(Type_table type_table, String name) {
        if (name.equals("integer") || name.equals("boolean"))
            return true;
        for (int i = 0; i < type_table.type_name.size(); i++) {
            if (type_table.type_name.get(i).toString().equals(name)) {
                return true;
            }
        }
        return false;
    }