Remove is_integer check for cc5d94

Otherwise, calling this function with a menu name (e.g., main_menu)
instead of id, will fail.
Yes, I think so. The value should be a simple value here, no dicts etc.
I assume that check is still there for handling older menus.