Introduction branch

Is there any way to shorten this conditional or at least make what string you're comparing to clearer?