human
Write a function to check if given tuple contains no duplicates. Here is a solution in Python:
Write me a the Python program you requested?
assistant
#Here is the Python program you requested.
 def check_distinct(test_tup):
  res = True
  temp = set()
  for ele in test_tup:
    if ele in temp:
      res = False
      break
    temp.add(ele)
  return res