def is_same_address(left: AnyAddress, right: AnyAddress) -> bool:
if not is_address(left) or not is_address(right):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>return to_normalized_address(left) == to_normalized_address(right)<EOL><DEDENT>
Checks if both addresses are same or not.