Function Surface.hasColorKey

Wraps SDL_HasColorKey (from SDL 2.0.9) which checks whether the dsdl2.Surface has a color key for transparency

bool hasColorKey() @property @trusted const;

Returns

true if it does, otherwise false