isHeld property Null safety

bool isHeld

Implementation

bool get isHeld => _lock != null;