def check_disk(self):
        disk = self.get_disk()
        if disk is not None:
            if not isinstance(disk, (float, int)):
                return False, 'The specified disk value "%s" is not a valid float or int.' % disk
        return True, ''
dataset/ETHPy150Open Yelp/paasta/paasta_tools/utils.py/InstanceConfig.check_disk/original