def CheckForCompleteness(expected_collection, available_collection):
  """Check the completeness of a collection.

  Args:
    expected_collection: A dictionary/set/list of expected items.
    available_collection: A dictionary/set/list of items to check.

  Returns:
    availability: A dictionary telling whether an item is available.
  """

  availability = {}
  for item in expected_collection:
    availability[item] = item in available_collection
  return availability