def is_subset(span_small, span_big):
    """
    :param span_small: span array representing [start, end]
    :param span_big: span array representing [start, end]
    :return: boolean indicating iff a is fully contained within b
    """
    return span_small[0] >= span_big[0] and span_small[1] <= span_big[1]