hasItem property

bool hasItem

Implementation

bool get hasItem => item != null;