def METHOD_NAME(self, trace_collection):
    value = self.subnode_value
    shape = value.getTypeShape()
    if shape.hasShapeSlotIter() is False:
        # An exception is raised.
        trace_collection.onExceptionRaiseExit(BaseException)
        return makeRaiseTypeErrorExceptionReplacementFromTemplateAndValue(
            template="'%s' object is not iterable",
            operation="any",
            original_node=value,
            value_node=value,
        )
    iteration_handle = value.getIterationHandle()
    if iteration_handle is not None:
        all_false = True
        count = 0
        while True:
            truth_value = iteration_handle.getNextValueTruth()
            if truth_value is StopIteration:
                break
            if count > 256:
                all_false = False
                break
            if truth_value is True:
                result = wrapExpressionWithNodeSideEffects(
                    new_node=makeConstantReplacementNode(
                        constant=True, node=self, user_provided=False
                    ),
                    old_node=value,
                )
                return (
                    result,
                    "new_constant",
                    "Predicted truth value of built-in any argument",
                )
            elif truth_value is None:
                all_false = False
            count += 1
        if all_false is True:
            result = wrapExpressionWithNodeSideEffects(
                new_node=makeConstantReplacementNode(
                    constant=False, node=self, user_provided=False
                ),
                old_node=value,
            )
            return (
                result,
                "new_constant",
                "Predicted truth value of built-in any argument",
            )
    self.onContentEscapes(trace_collection)
    # Any code could be run, note that.
    trace_collection.onControlFlowEscape(self)
    # Any exception may be raised.
    trace_collection.onExceptionRaiseExit(BaseException)
    return self, None, None