/// <summary> /// Checks if a lock can be opened. /// </summary> /// <param name="lockName"> The name of the lock.</param> /// <returns>True if it can be opened, False if not.</returns> public bool CheckEntryPointLock(String lockName) { if (KeyRing.CheckKey(lockName)) { return(true); } return(false); }