Function ListWidget.itemEnabled

returns true if item with corresponding index is enabled

bool itemEnabled(
  int index
);