def dict_reverse(dictionary):
  """
  Reverse a dictionary. If values are not unique, only one will be used. Which one is not specified

  Args:
    dictionary (dict): dict to reverse

  Returns:
    reversed (dict): reversed dictionary
  """
  return {v: k for k, v in dictionary.items()}