def _process(self, l):
        arg = l[0]
        if len(l) == 1:
            if arg in self.dict:
                return self.dict[arg]
            elif hasattr(self, arg) and callable(getattr(self, arg)):
                return getattr(self, arg)()
            else:
                raise KeyError(arg)
        else:
            func_name = l[1]
            if self.dict in func_name:
                func = self.dict[func_name]
            else:
                func = getattr(self, func_name)
            return func(self._process([arg]))
dataset/ETHPy150Open PublicMapping/DistrictBuilder/docs/loadcensus/configureCensus.py/DictionaryTemplate._process/swapped operands of `in`