def _is_from_this_session(self, msg):
session = self._kernel_manager.session.session<EOL>parent = msg['<STR_LIT>']<EOL>if not parent:<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>return parent.get('<STR_LIT>') == session<EOL><DEDENT>
Returns whether a reply from the kernel originated from a request
            from this frontend.