def get_code_cell(code, hidden=False):
    """Code cell containing `code` that may be `hidden`."""
    return {'cell_type': 'code', 'execution_count': 0, 'metadata': {
        'hide_input': hidden, 'trusted': True}, 'source': code, 'outputs': []}
