def METHOD_NAME(self, panel_hex_to_solve_set, world, player, player_logic):
    """
    Lambdas are made in a for loop, so the values have to be captured
    This function is for that purpose
    """
    return lambda state: state._witness_can_solve_panels(
        panel_hex_to_solve_set, world, player, player_logic, self.locat
    )