Returns whether the surface has a color key
SDL_bool SDL_HasColorKey(SDL_Surface * surface);
the SDL_Surface structure to query
Return SDL_TRUE if the surface has a color key, SDL_FALSE otherwise.
It is safe to pass a NULL
surface here; it will return SDL_FALSE.
This function is available since SDL 2.0.9.