Make moduleIsLoadedInternal function public