(self, other: object)
return isinstance(other, Labware) and self._labware_id == other._labware_id
Compare for object equality.

        Checks that other object is a `Labware` and has the same identifier.
Compare for object equality.
Compare for object equality .
def __eq__(self, other: object) -> bool:
        """Compare for object equality.

        Checks that other object is a `Labware` and has the same identifier.
        """
        return isinstance(other, Labware) and self._labware_id == other._labware_id
def __eq__ ( self , other : object ) -> bool : return isinstance ( other , Labware ) and self . _labware_id == other . _labware_id