test for undef before validate_bool($show_diff)