def filter_has_enum_values_added_in_hal_version(entries, hal_major_version, hal_minor_version):
  """
  Filter the given entries to those that have a new enum value added in the given HIDL HAL version

  Args:
    entries: An iterable of Entry nodes
    hal_major_version: Major HIDL version to filter for
    hal_minor_version: Minor HIDL version to filter for

  Yields:
    An iterable of Entry nodes
  """
  return (e for e in entries if e.has_new_values_added_in_hal_version(hal_major_version, hal_minor_version))