code: def is_same_address(left: AnyAddress, right: AnyAddress) -> bool:
      
      if not is_address(left) or not is_address(right):
          raise ValueError("Both values must be valid addresses")
      else:
          return to_normalized_address(left) == to_normalized_address(right)
docs: Checks if both addresses are same or not.