The best thing I found working for Fedora is
loginctl show-session <YOUR_NUMBER> -p Type
The number to pass in is the one you get by issuing just
loginctl
Use the one with your user name.
Refer to: https://fedoraproject.org/wiki/How_to_debug_Wayland_problems
So, for me it is:
$ loginctl show-session 2 -p Type
Type=wayland