public bool isLocked() { if (theLock != null) { //Console.WriteLine("This door is LOCKED!"); return(theLock.isLocked()); } else { return(false); } }