def METHOD_NAME(self, state):
    if self._unknown_stop_points and sim_options.UNICORN in state.options and not self._warned_unicorn:
        l.warning("Using unicorn with find/avoid conditions that are a lambda (not a number, set, tuple or list)")
        l.warning("Unicorn may step over states that match the condition (find or avoid) without stopping.")
        self._warned_unicorn = True
    try:
        if self.avoid_priority:
            avoidable = self.avoid(state)
            if avoidable and (avoidable is True or state.addr in avoidable):
                return self.avoid_stash
        findable = self.find(state)
        if findable and (findable is True or state.addr in findable):
            return self.find_stash
        if not self.avoid_priority:
            avoidable = self.avoid(state)
            if avoidable and (avoidable is True or state.addr in avoidable):
                return self.avoid_stash
    except claripy.errors.ClaripySolverInterruptError as e:
        resource_event(state, e)
        return "interrupted"
    if self.cfg is not None and self.cfg.model.get_any_node(state.addr) is not None:
        if state.addr not in self.ok_blocks:
            return self.avoid_stash
    return None