def output(self, data):
        if self.transform:
            data = self.transform(data)
        if hasattr(data, 'read'):
            data = data.read().decode('utf8')
        if data is not None:
            data = self.outputs(data)
            if data:
                sys.stdout.buffer.write(data)
                if not data.endswith(b'\n'):
                    sys.stdout.buffer.write(b'\n')
        return data
Checks whether a value is :
dataset/ETHPy150Open timothycrosley/hug/hug/interface.py/CLI.output--crossover with--dataset/ETHPy150Open manjitkumar/drf-url-filters/filters/validations.py/DatetimeWithTZ