def subset(self, other):
        "@return: True iff self is subset of other."
        return self.start >= other.start and self.end <= other.end
@return: True iff self is subset of other.
recipes/Python/576816_Interval/recipe-576816.py