isLockedByMe

isLockedByMe(target: Object): Boolean;

The isLockedByMe method of the Object class returns true if the current process has the target object locked.