Is there a way to detect whether I'm running an extension that was installed from my .crx file or the extension was loaded as via 'Load unpacked extension...' button?

I'm aware about ID differences in that case, but I don't want to rely on hardcoded strings in the code.