Incorporated sphshelpers.globalEntityExists() into spjshelpers.ensureGlobalEntityLoaded()