<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def in_span(loc: int, span: Span) -> bool: """Checks if loc is inside span"""


    if loc >= span[0] and loc <= span[1]:
        return True
    else:
        return False