You can use IsPressed
directly:
_controls.ActionMap.Action.IsPressed()
For Example:
private PlayerControls _controls;
public void Start()
{
_controls = new PlayerControls();
_controls.Enable();
}
void Update()
{
if (_controls.GamePlay.TakeItem.IsPressed()) Debug.Log("Is Pressed!");
}

Single Action Map Event Triggered
Controls.GamePlay.Get().actionTriggered += ctx => Debug.Log(ctx.action);
Single Action Map Direct Triggered
foreach (var _inputAction in Controls.GamePlay.Get().actions.Where(_inputAction => _inputAction.triggered))
{
Debug.Log(_inputAction);
}
Total Action Map Triggered
foreach (var _inputAction in Controls.asset.actionMaps.SelectMany(_assetActionMap => _assetActionMap.actions.Where(_inputAction => _inputAction.triggered)))
{
Debug.Log(_inputAction);
}