Then you could do something like
{{ if (eq (type .) "Array") }}
I do have use cases for this, but this is mostly due to the arbitrary liimitation of not being able to instantiate shortcodes within a template.
Also is accessing .Page within a shortcode display a null pointer dereference error? Or is it just not implemented yet?