checks if the keymap shortcut type exists

this probably is still not the best solution, but at least it will not
create duplicates