Jak sprawdzić, czy cyfra w int Python

s = set(str(4059304593))
print('2' in s)
Tender Tapir