Looks like `is_dir` is imported but not used