def TIsLength(size):
  """Check is the given container is of the given size.

  """
  def fn(container):
    return len(container) == size

  return WithDesc("Length %s" + (size, ))(fn)


# Combinator types
dataset/ETHPy150Open ganeti/ganeti/lib/ht.py/TIsLength/operator `%` -> `+`