def select_coins(self, colorvalue, use_fee_estimator=None):
        self._validate_select_coins_parameters(colorvalue, use_fee_estimator)
        def required_sum_fn(selection):
            if use_fee_estimator:
                return colorvalue + use_fee_estimator.estimate_required_fee(
                    extra_txins=len(selection))
            else:
                return colorvalue
        required_sum_0 = required_sum_fn([])
        if required_sum_0.get_value() == 0:
            # no coins need to be selected
            return [], required_sum_0
        colordef = colorvalue.get_colordef()
        color_id = colordef.get_color_id()
        cq = self.model.make_coin_query({"color_id_set": set([color_id])})
        utxo_list = cq.get_result()
        return self._select_enough_coins(colordef, utxo_list, required_sum_fn)
Checks a filter and sets it in the filter set.
dataset/ETHPy150Open chromaway/ngcccbase/ngcccbase/txcons.py/SimpleOperationalTxSpec.select_coins--crossover with--dataset/ETHPy150Open GoogleDeveloperExperts/experts-app-backend/endpoints_proto_datastore/ndb/model.py/_EndpointsQueryInfo._AddFilter