Clarify boolean expression in isPhotonMarkedForPassThrough function