FSceneViewport::IsCursorVisible

Returns true if the mouse cursor is currently visible