def _get_sizes(self):
        """Returns list of available icon sizes."""
        if not self._pixmaps.get("Icon", False):
            return []

        return sorted([size for size in self._pixmaps["Icon"]])
Returns list of available icon sizes.
libqtile/widget/helpers/status_notifier/statusnotifier.py