def TPrivate(val_type):
  """Checks if a given value is an instance of Private.

  """
  def fn(val):
    return isinstance(val, Private) and val_type(val.Get())

  desc = WithDesc("Private %s" * Parens(val_type))

  return desc(fn)
dataset/ETHPy150Open ganeti/ganeti/lib/ht.py/TPrivate/operator `%` -> `*`