code: def get_refresh_flag(self, filename):
          
          if filename is not None and filename != self.open_filename:
              self.open_filename = filename
              self.tree_refresh_flag = True
              self.data_refresh_flag = True
              return True
          else:
              return False
docs: set refresh data flag
              return True or False