def METHOD_NAME(self, other):
    """Check object identity.
    Parameters
    ----------
    other : object
        The other object to compare against.
    Returns
    -------
    result : bool
         The comparison result.
    """
    if not isinstance(other, ObjectBase):
        return False
    if self.handle is None:
        return other.handle is None
    return self.handle.value == other.handle.value