Check if we are in the current module context as a fast path