public boolean containsModel(int id) {
		if (definition == null) {
			return false;
		}

		int[][] models = definition.modelIds;
		if (models != null) {
			int[] ints = models[0];
			for (int i : ints) {
				if (i == id) {
					return true;
				}
			}
		}
		return false;
	}