def in_span(loc: int, span: Span) -> bool:
if loc >= span[<NUM_LIT:0>] and loc <= span[<NUM_LIT:1>]:<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
Checks if loc is inside span