[PATCH 1/2] vga_switcheroo: Add a helper function to get the client state