def __lt__(self, rhs):
if rhs is None:<EOL><INDENT>return False<EOL><DEDENT>if self.chrom < rhs.chrom:<EOL><INDENT>return True<EOL><DEDENT>if self.chrom > rhs.chrom:<EOL><INDENT>return False<EOL><DEDENT>if self.end < rhs.end:<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Check whether self < rhs? Comparison is first by chrom, then by end index.

:param rhs: object from the right-hand-side of the comparaison self < rhs
:return: True if self is considered 'less' than rhs.