improve syntax in exits? method

remove ugly temp_altname variable, and replace two lines of code with a single || operator