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