input: Write a function to check if any two numbers from the given list sum up to the target number. If there are any two such numbers, return True; otherwise, return False.
  
  assert check_sum([1, 2, 3, 4], 5) == True
  assert check_sum([1, 2, 3, 4], 8) == False
  assert check_sum([10, 20, 30], 50) == True
  assert check_sum([1, 3, 5, 7], 10) == True
  assert check_sum([1, 4, 6, 8], 12) == False
output: def check_sum(nums, target):
      seen = set()
      for num in nums:
          if target - num in seen:
              return True
          seen.add(num)
      return False