def is_monocolor(self):
        if not self.is_monoasset():
            return False
        asset = self.targets[0].get_asset()
        return len(asset.get_color_set().color_id_set) == 1
Test comparison operators
dataset/ETHPy150Open chromaway/ngcccbase/ngcccbase/txcons.py/BasicTxSpec.is_monocolor--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/vistrail/module_param.py/TestModuleParam.testComparisonOperators