Как проверить, есть ли переменная в Python, какая

kind = "World"
print(type(kind))
kind2 = 0876
print(type(kind2))
Programmer of empires