code: def consistent_with(event, evidence):
      "Is event consistent with the given evidence?"
      return every(lambda (k, v): evidence.get(k, v) == v,
                   event.items()f consistent_with(event, evidence):
      "Is event consistent with the given evidence?"
      return every(lambda (k, v): evidence.get(k, v) == v,
                   event.items())
docs: Is event consistent with the given evidence?