true
public static bool IsLocked(Directory directory) { return directory.MakeLock(WRITE_LOCK_NAME).IsLocked(); }