PluginHostType::getPluginLoadedAs() error response

if (PluginHostType::getPluginLoadedAs() == AudioProcessor::WrapperType::wrapperType_Standalone)

this gives me false even if the wrapper type is a standalone in a a module that I created (called Ayra_plugin_scanner) where I don’t have the processor reference of the app. On a source .cpp of the app where I have the access to the AudioProcessor it gives me the write output (true).