code cleanup and make terser, eliminate redundant check in is_symbol