hasLock property

bool get hasLock

Implementation

bool get hasLock => _lock != null;