How to check in game if Xbox gamepad was disconnected?

Godot Version

4.2.2.

Question

How to check in game if Xbox controller was disconnected?