local-key-binding

local-key-binding is a built-in function in `C source code'.

(local-key-binding KEYS &optional ACCEPT-DEFAULT)

Return the binding for command KEYS in current local keymap only.
KEYS is a string or vector, a sequence of keystrokes.
The binding is probably a symbol with a function definition.

If optional argument ACCEPT-DEFAULT is non-nil, recognize default
bindings; see the description of `lookup-key' for more details about this.