def __eq__(self, other):
    try:
        return (self.header == other.header)
    except AttributeError:
        return False
def __eq__(self, other):
    try:
        return (self.header == other.header)
    except AttributeError:
        return False