A nicer way to check for empty strings