def password_validator(optdict, name, value):
 return optik_ext.check_password(None, name, value)

def password_validator ( optdict , name , value ) : return optik_ext . check_password ( None , name , value )
validate and return a string for option of type password .