pub fn is_definition_locked(token: &Token) -> bool
Whether token’s definition is locked while state is not unlocked, so install_definition drops a redefinition.
token
install_definition