def handoutCheck(self, username, password):
        with TRN:
            password = password.encode('utf-8')
            sql = "SELECT password FROM ag.ag_handout_kits WHERE kit_id = %s"
            TRN.add(sql, [username])
            to_check = TRN.execute_fetchindex()

            if not to_check:
                return False
            else:
                return bcrypt.checkpw(password, to_check[0][0])