def METHOD_NAME(self, msg):
    """Return whether a message is from this session"""
    session_id = self._kernel_client.session.session
    return msg['parent_header'].get("session", session_id) == session_id