Getting Docker backend type from command line

Hello,

I am spawning a linux container from within my Windows application and I would like to know what is the selected Docker backend (WSL2 or Hyper-V).

I would be fine for example to parse the result of a command line to get that info.
Example

docker info --format '{{json .}}'

and then parse the relevant field, but I didn’t find what command line to issue and what field to look for in the Docker documentation.

Maybe a more direct way exists?

Thanks for your help.