hasItem property

bool get hasItem

Checks if there is an item loaded.

Implementation

bool get hasItem => item != null;