@staticmethod
    def can_handle(opts, spec):
        return spec.startswith("gen:")
The gen spec follows gen:[key=value[,key=value]] format.
dataset/ETHPy150Open membase/membase-cli/pump_gen.py/GenSource.can_handle