Extract to shouldOpenDoor()