def is_task(self):
        return (self.options.run_mapper or
                self.options.run_combiner or
                self.options.run_reducer)
Decodes a given buffer or the next received packet.
dataset/ETHPy150Open Yelp/mrjob/mrjob/job.py/MRJob.is_task--crossover with--dataset/ETHPy150Open python-diamond/Diamond/src/collectors/jcollectd/collectd_network.py/Reader.decode