def __contains__(self, frame):
    return ((frame.start >= self.start) and (frame.stop <= self.stop))
def __contains__(self, frame):
    return ((frame.start >= self.start) and (frame.stop <= self.stop))