If there is a possibility that all actions passed in might not be ContextAction, then yes, we should make sure of it before creating the menu.