fn check_sym_in_keymap(state: &State, sym_name: &str) -> bool