def wrap_filters(filters):
  """Returns a single filter that short-circuit ANDs the specified filters.

  :API: public
  """
  def combined_filter(x):
    for filt in filters:
      if not filt(x):
        return False
    return True
  return combined_filter
Returns a single filter that short-circuit ANDs the specified filters.

  :API: public