code: def clear_interpretations(self, message=None):
          
          if self.total_num_of_interpertations() == 0:
              print("There are no interpretations")
              return True
  
          if message == None:
              message = "All interpretations will be deleted all unsaved data will be irretrievable, continue?"
          dlg = wx.MessageDialog(self, caption="Delete?",
                                 message=message, style=wx.OK | wx.CANCEL)
          result = self.show_dlg(dlg)
          dlg.Destroy()
          if result != wx.ID_OK:
              return False
  
          for specimen in list(self.pmag_results_data['specimens'].keys()):
              self.pmag_results_data['specimens'][specimen] = []
              # later on when high level means are fixed remove the bellow loop and loop over pmag_results_data
              for high_level_type in ['samples', 'sites', 'locations', 'study']:
                  self.high_level_means[high_level_type] = {}
          self.current_fit = None
          if self.ie_open:
              self.ie.update_editor()
          return True
docs: Clears all specimen interpretations
  
          Parameters
          ----------
          message : message to display when warning the user that all
          fits will be deleted. If None default message is used (None is
          default)