nbproject.dev.check_last_cell#

nbproject.dev.check_last_cell(nb, calling_statement)#

Check whether code has been executed in the last cell.

Parameters:
  • nb (Notebook) – Notebook content.

  • calling_statement (str) – The statement that calls this function.

Return type:

bool