def xsel(self, i3s_output_list, i3s_config):
        current_value = check_output(shlex.split(self.command))
        if len(current_value) >= self.max_size:
            if self.symmetric is True:
                split = int(self.max_size / 2) - 1
                current_value = current_value[:split].decode(
                    'utf-8') + '..' + current_value[-split:].decode('utf-8')
            else:
                current_value = current_value[:self.max_size]
        response = {
            'cached_until': time() + self.cache_timeout,
            'full_text': current_value,
            'color': self.color
        }
        return response
Return true if the binary sensor is on.
dataset/ETHPy150Open ultrabug/py3status/py3status/modules/xsel.py/Py3status.xsel--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/binary_sensor/nx584.py/NX584ZoneSensor.is_on