assistant2: Add intermediate bindings to improve conditional readability (#22790)

This PR adds some intermediate bindings to the checks for if a
file/directory is already included to make the conditional a bit
clearer.

It wasn't immediately obvious what the boolean values corresponded to
when looking at it.

Release Notes:

- N/A
c53615ff61Marshall Bowers committed on 1/7/2025, 7:42:38 PM· committed by GitHubparentfffa40f
2 files changedLine totals unavailable