Reimplements the :meth:`QAbstractItemModel.removeRows` method.

        :param row: Row.
        :type row: int
        :param count: Count.
        :type count: int
        :param parent: Parent.
        :type parent: QModelIndex
        :return: Method success.
        :rtype: bool

def removeRows(self, row, count, parent=QModelIndex()):
        """
        Reimplements the :meth:`QAbstractItemModel.removeRows` method.

        :param row: Row.
        :type row: int
        :param count: Count.
        :type count: int
        :param parent: Parent.
        :type parent: QModelIndex
        :return: Method success.
        :rtype: bool
        """

        parent_node = self.get_node(parent)
        self.beginRemoveRows(parent, row, row + count - 1)
        success = True
        for i in range(count):
            success *= True if parent_node.remove_child(row) else False
        self.endRemoveRows()
        return success