If above `isAddonContent` and `hasContentScript` is not used outside of this function it would make more sense to not export them as thier API is pretty confusing.