def check(self, param):
        check_methods = {
            'cpus': self.check_cpus,
            'mem': self.check_mem,
        }
        if param in check_methods:
            return check_methods[param]()
        else:
            return False, 'Your Chronos config specifies "%s", an unsupported parameter.' % param
dataset/ETHPy150Open Yelp/paasta/paasta_tools/utils.py/InstanceConfig.check/original