Turned out I should check if cmd_Metaboxes class exists within the callback of the hook.  my bad.