def _FilterEmptyValues(dictionary: Dict[KeyT, ValT]) -> Dict[KeyT, ValT]:
  """Returns a dictionary with only the pairs whose value evaluated to True.

  Args:
    dictionary (Dict[KeyT, ValT]): The dictionary to be filtered.

  Returns:
    Dict[KeyT, ValT]: A resulting dictionary containing only entries whose
        values evaluated to True.
  """
  return {k: v for k, v in dictionary.items() if v}
Returns a dictionary with only the pairs whose value evaluated to True.

Args:
dictionary (Dict[KeyT, ValT]): The dictionary to be filtered.

Returns:
Dict[KeyT, ValT]: A resulting dictionary containing only entries whose
values evaluated to True.
libcloudforensics/providers/kubernetes/enumerations/base.py