def confirm_code(self, arg):
        """Confirm the user is who they say they are. If they have
        the magic code (e-mailed to them), then we will give them 
        their account back.
        
        PREV STATE: self.reset_password
        NEXT STATE: self.create_password
        """
        if arg.isdigit() and int(arg) in self.conf_code:
            #We have now verified this is the correct person, grab their player info and
            #reset their password
            self.player.playerize(self.world.db.select('* FROM player WHERE dbid=?', [self.dbid])[0])
            self.player.update_output(CLEAR + 'Type in your new password: ' + CONCEAL)
            self.password = None
            self.next_state = self.create_password
        else:
            self.player.update_output(CLEAR + 'The code you entered was incorrect.')
            self.player.update_output('Copy the code here to continue: ')
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/modes/init_mode.py/InitMode.confirm_code/operator `==` -> `in`