Check whether or not tray icons can be created.
Defined in <SDL3/SDL_tray.h>
bool SDL_IsTraySupported(void);
(bool) Returns true if trays are available, false otherwise.
Note that this function does not guarantee that SDL_CreateTray() will or will not work; you should still check SDL_CreateTray() for errors.
Using tray icons require the video subsystem.
This function should only be called on the main thread. It will return false if not called on the main thread.
This function is available since SDL 3.4.0.