1. We check three things. First we check that global apiMock flag is set. Second we check if the requested URL path _should_ be mocked (that it starts with `apiPath` set in config). Third is the thing you added, a local apiMock override.
2. Yes it could encapsulate all in one call, but inside it would still be three calls (see last point).