ignore_cell

ignore_cell(notebook_cell: Dict[str, Any]) bool[source]

Return True if the cell isn’t a code cell or is empty.

Parameters:

notebook_cell (NotebookCell) – Dict representation of a notebook cell as parsed from JSON.

Returns:

Whether cell should be ignored or not.

Return type:

bool