Make return statement of is_escaped more succinct