• will may be have another decision?

Question related to mission House Password

 

Hello it's my decision , i want think have another decision

def checkio(data):

if len(data) < 10 or data.islower() or data.isupper() or data.isdigit():
    return False
else:
    for i in data:
        if i.isdigit():
            return True