pub fn is_function_key(keysym: Keysym) -> bool
the xkeysym crate implements this crate without any cruft
xkeysym
Tell whether a keysym is a function key.