It's similar, but takes a boolean to determine if we want to apply with_deleted or not.

if true, it returns SomeModel.with_deleted, otherwise returns a bare scope.

I ended up repeating that logic a bunch of times so I thought this was to most logical place to put that logic.