def isfilesize(value):
    global systems
    try:
        float(str(value))
        return True
    except __HOLE__:
        pass # continue

    def isnumeric_helper(suffix):
        tmp_value = value.replace(suffix, '')
        tmp_value.strip()
        try:
            float(tmp_value)
            return True
        except ValueError:
            return False

    for system in systems:
        for factor, suffix in system:
            if type(suffix) is str:
                if isnumeric_helper(suffix):
                    return True
            else:
                for name in suffix:
                    if isnumeric_helper(name):
                        return True
    return False
dataset/ETHPy150Open aerospike/aerospike-admin/lib/filesize.py/isfilesize