Better SetOpen() and IsOpen() function from the doors.