This can just be `return IPython.CodeCell.msg_cells[msg_id] || null;`