code: def filterAcceptsRow(self, row, parent):
          
  
          child = self.sourceModel().get_node(parent).child(row)
          if isinstance(child, EditorNode):
              return False
  
          return True
docs: Reimplements the :meth:`QSortFilterProxyModel.filterAcceptsRow` method.
  
          :param row: Source row.
          :type row: int
          :param parent: Source parent.
          :type parent: QModelIndex
          :return: Filter result
          :rtype: bool