code: def was_run_code(self, get_all=True):
          
          if self.stored is None:
              return ""
          else:
              if get_all:
                  self.stored = ["\n".join(self.stored)]
              return self.stored[-1]
docs: Get all the code that was run.