added code for sliding_door_can_be_opened