The updater asks Windows, using a standard Windows function that does exactly that, if there's a process named like any one of the supported simulators that is still running when you start it.
That's the only possible way to get that message so, if you got that message, it means a process named either FSX or Prepar3d is still running.