Is this better or worse than just using something like:

    lambda x: os.path.exists(x) or os.makedirs(x) is None