def intersects(self, e):
if self.chrom != e.chrom:<EOL><INDENT>return False<EOL><DEDENT>if e.start >= self.start and e.start < self.end:<EOL><INDENT>return True<EOL><DEDENT>if e.end > self.start and e.end <= self.end:<EOL><INDENT>return True<EOL><DEDENT>if e.start < self.start and e.end > self.end:<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Check whether e intersects self.

:return: true if this elements intersects the element e