How do I make a toggles overlay section just like in the blender interface in python

I have my draw function set up and a button earmarked for this I don’t know if I have to make it a special type of button in order for it to toggle but this is my draw function and I just need to know how to edit this… and my operator which is below this code

if you can’t tell me how to do both,

then if you could even just tell me how to make the toggle part that just toggles the overlays …But I would like to have the toggle overlay button and the small menu to the right with all the overlays settings

Thanks in advance for any help

def draw_topbar(self, context):
    manager = context.scene.super_solid_mode
    if context.region.alignment == 'RIGHT':
        layout = self.layout 
            
        if manager.switch_object:
            col = layout.column()
            col.operator("ssm.switch_object", text="", icon="OBJECT_DATA")        
        if manager.switch_edit:
            col = layout.column()
            col.operator("ssm.switch_edit", text="", icon="EDITMODE_HLT")
            
        if manager.switch_pose:
            col = layout.column()
            col.operator("ssm.switch_pose", text="", icon="POSE_HLT")   
            
        if manager.switch_sculpt:
            col = layout.column()
            col.operator("ssm.switch_sculpt", text="", icon="SCULPTMODE_HLT")      
            
        if manager.show_overlays:
            col = layout.column()
            col.operator("ssm.show_overlays", text="", icon="OVERLAY")  

        if manager.toggle_xray:
            col = layout.column()
            col.operator("ssm.toggle_xray", text="", icon="MOD_WIREFRAME")
class SSM_OT_show_overlays(bpy.types.Operator):
    """Toggle Viewport Overlays"""
    bl_idname = "ssm.show_overlays"
    bl_label = "Toggle viewport overlays"
    bl_options = {"REGISTER",}

    def execute(self, context):
        for window in bpy.context.window_manager.windows:
            screen = window.screen

            for area in screen.areas:
                if area.type == 'VIEW_3D':
                    override = {'window': window, 'screen': screen, 'area': area}
                    [what do I put here]
                    break      

        return {'FINISHED'}