def range_overlap(range1, range2):
    """
    determine range1 is within range2 (or is completely the same)

    :param range range1: a range
    :param range range2: another range

    :rtype: bool
    :return: True, range1 is subset of range2, False, not the case
    """
    result = all([
        range1.start >= range2.start,
        range1.stop <= range2.stop
    ])

    return result