def is_inside_offset(inner, outer):
    'Checks if the first offset is contained in the second offset\n\n    Args:\n        inner: inner offset tuple\n        outer: outer offset tuple\n\n    Returns: bool'
    return (outer[0] <= inner[0] <= inner[1] <= outer[1])
Checks if the first offset is contained in the second offset

Args:
    inner: inner offset tuple
    outer: outer offset tuple

Returns: bool
def is_inside_offset(inner, outer):
    'Checks if the first offset is contained in the second offset\n\n    Args:\n        inner: inner offset tuple\n        outer: outer offset tuple\n\n    Returns: bool'
    return (outer[0] <= inner[0] <= inner[1] <= outer[1])