#NEWLINE# def is_valid_password( name , password , **kwargs ) : #NEWLINE# #INDENT# 'Valid the format of password.' #NEWLINE# if bool ( password ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# logging . debug ( '%s password is empty' , name ) #NEWLINE# return False