Check the results of
(or even better use a stepping debugger)
in a controller to see what the loader class keeps track of. It does track loaded classes/models/helpers/cached_variables and a few other things, but not views specifically. There is another tracked category for loaded_files, but I don’t think it shows view files either (shows config files, etc).
I think you might be able to throw a
in there when you do load that view, and check to see if VIEW_LOADED is defined in the other places where you need to check for it.
if ( ! defined('VIEW_LOADED'))