isLocked() method

Indicates if the segment is currently locked by a worker.

Syntax

boolean isLocked ()