Extracting logic for backstage passes item in separate if