input: Write a function that verifies whether all elements in a given tuple are valid.
  assert check_valid((True, True, True, True)) == True
  assert check_valid((True, False, True, True)) == False
  assert check_valid((True, True, True, True)) == True
output: def check_valid(elements):
      return all(elements)