def func(a, b):
if not str(a).isalpha() or not str(b).isalpha():
return -1
elif a.isupper() and b.isupper():
return 1
elif a.islower() and b.islower():
return 1
return 0
print(func(1, 'a'))
# -1
print(func('a', 'b'))
# 1
print(func('A', 'a'))
# 0
print(func('A', 'B'))
# 1
audio = status["text"]
artist = status["audio"]["artist"]
title = status["audio"]["title"]