Pointer Over UI?

Is there any way to check if a pointer is over UI in the new input system?

OK there is InputSystemUIInputModule which works similar to the event system and has:

https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.UI.InputSystemUIInputModule.html#UnityEngine_InputSystem_UI_InputSystemUIInputModule_IsPointerOverGameObject_System_Int32_