This version of Unity is unsupported.

InteractionSourceState.anyPressed

public bool anyPressed;

Description

True if the source is in the pressed state.

This can be because the hand has a finger pressed or the controller has any button pressed.