used method

bool used(
  1. String componentId
)

Whether componentId was used (a card's script waits for it).

Implementation

bool used(String componentId) =>
    componentById(componentId)?.component['state'] == 'used';