braintools.cogtask.phase_tree_is_variable#
- braintools.cogtask.phase_tree_is_variable(phase)[source]#
Walk a phase tree and return True if any node declares
is_variable = True.Used by
Taskto decide whether to allocate variable-length buffers and dispatch throughexecute_phase_packed. Pure structural walk; runs at construction time, noctxneeded.- Return type: