code: private boolean isProfile(OperationContext context) {
          PathAddress pa = context.getCurrentAddress();
          return pa.size() > 1 && PROFILE.equals(pa.getElement(0).getKey());
      }
docs: Guard against poorly written subsystems that try and execute in /profile=*.
  Can be removed if WFCORE-2815 relaxed.