• Password Problem

Question related to mission House Password

 

My Code is not working correcty what is the issue

def checkio(data):

if len(data) >= 10 and data.isalnum() == True and data.isupper == False and data.islower() == False:
    return True
else:
    return False