input: Write a python function to compare two dictionaries for equality.
  assert compare_dicts({'a': 1, 'b': 2}, {'a': 1, 'b': 2}) == True
  assert compare_dicts({'a': 1, 'b': 2}, {'a': 1, 'b': 3}) == False
  assert compare_dicts({'a': 1}, {'a': 1, 'b': 2}) == False
output: def compare_dicts(dict1, dict2):
      return dict1 == dict2