def setRows(self, rows):
        if rows < 0:
            rows = 0

        if self._rows != rows:
            self._rows = rows
            self.requestRepaint()
Returns ``True`` if `obj` has a ``to_dict()`` method.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/list_select.py/ListSelect.setRows--crossover with--dataset/ETHPy150Open STIXProject/python-stix/stix/utils/__init__.py/is_dictable