def __eq__(self, e):
if e is None:<EOL><INDENT>return False<EOL><DEDENT>try:<EOL><INDENT>return (self.chrom == e.chrom and self.start == e.start and<EOL>self.end == e.end and self.name == e.name and<EOL>self.score == e.score and self.strand == e.strand)<EOL><DEDENT>except AttributeError:<EOL><INDENT>return False<EOL><DEDENT>
:return: True if self is equal to e.