code: def check_auth(self, username, password):
          ''' This function is called to check if a username password combination
              is valid. '''
          return username == self.queryname and password == self.querypf check_auth(self, username, password):
          ''' This function is called to check if a username password combination
              is valid. '''
          return username == self.queryname and password == self.querypw
docs: This function is called to check if a username password combination
              is valid.