Updated check action with the new API (taking a card object).