in azure/durable_functions/models/utils/entity_utils.py [0:0]
def __eq__(self, other: object) -> bool:
"""Check if two EntityId objects are equal.
Parameters
----------
other: object
"""
if not isinstance(other, EntityId):
return False
return self.name == other.name and self.key == other.key