def exists(path):
    """
    Determine if a path is:
    1. a link
    2. a file
    3. a directory
    """
    from os.path import isfile, islink, isdir
    return isfile(path) or islink(path) or isdir(path)
