Check if a tuple is empty or not in pyhon