note: qtype_is_any was originally const, and was temporarily changed to mutable. it's now immutable again.