def is_path_empty(path):
    """
    `if not path` will not always return if a path is empty
    because of Path objects. Instead do `if is_path_empty(path)`
    """
    return not path or str(path) == '.'
