def is_integer(value):
    try:
        i            = float(value)
        fract, dummy = math.modf(i)
        if fract > 0:
            return False
        else:
            return True
    except ValueError:
        return False
    except TypeError:
        return False
Walk the file tree rooted at `path`.  Works like os.walk but returned root value is relative path.
dataset/ETHPy150Open kenfar/DataGristle/gristle/field_type.py/is_integer--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/base/project_tree.py/ProjectTree.walk