
This test is mostly because I am currently turning truthy values into single element arrays during render, so I need to make sure idx and len and not being set for non-array iteration.
$idx and $len seem to only be valid inside sections iterating over arrays, but nothing else.