#NEWLINE# def check_auth( self , username , password ) : #NEWLINE# #INDENT# ' This function is called to check if a username password combination\n            is valid. ' #NEWLINE# return ( ( username == password . queryname ) and ( password == self . querypw ) )