def userIsLocked(self, ent):
    password = ent[USERPASSWORD][0]
    return ('{CRYPT}!' in password)
def userIsLocked(self, ent):
    password = ent[USERPASSWORD][0]
    return ('{CRYPT}!' in password)