hasItem property

bool get hasItem

Implementation

bool get hasItem => item != null;