Input: Sentence 1: Before very long we had all trooped into the drawing-room, the door of which Japp closed.  Sentence 2: We all left the room after Japp opened the door.
Output: 

 yes