Get a mask of the specified subsystems which are currently initialized.
Uint32 SDL_WasInit(Uint32 flags);
Returns a mask of all initialized subsystems if
flags is 0, otherwise it returns the initialization status of the specified subsystems.
The return value does not include SDL_INIT_NOPARACHUTE.
This function is available since SDL 2.0.0.