def islink(path): f = os_mock._findFileFromPath(path) return type(f) == os_mock.FakeSymlink
def isdir(path): f = os_mock._findFileFromPath(path) return type(f) == os_mock.FakeDir
def isfile(path): f = os_mock._findFileFromPath(path) return type(f) == os_mock.FakeFile