def __eq__(self, other):
    return (isinstance(other, GetField) and (other.o == self.o) and (other.name == self.name))
def __eq__(self, other):
    return (isinstance(other, GetField) and (other.o == self.o) and (other.name == self.name))