<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def overlaps(self, contig, start, end, strand=None):
 """ Does this locus overlap with a given range of positions? Since locus position ranges are inclusive, we should make sure that e.g. chr1:10-10 overlaps with chr1:10-10 """

        return (
            self.can_overlap(contig, strand) and
            self.distance_to_interval(start, end) == 0)