Python Check Variable ist Tupel
use isinstance(x, tuple), where x is the variable.
x = 2, 2
print(isinstance(x, tuple))
#Expected: True
y = 2
print(isinstance(y, tuple))
#Expected: False
Thankful Toucan