Do something when check/uncheck checkbox Python
actually your code is running... but you must open your blender with the cmd (console)



after that you can see the prints in the cmd



/**** update

you should check enter link description here

I clean the code.... 



bl_info = {
    "name": "tester",
    "description": "",
}

import bpy

from bpy.props import (StringProperty,
                       BoolProperty,
                       IntProperty,
                       FloatProperty,
                       FloatVectorProperty,
                       EnumProperty,
                       PointerProperty,
                       )
from bpy.types import (Panel,
                       Operator,
                       AddonPreferences,
                       PropertyGroup,
                       )


# ------------------------------------------------------------------------
#    store properties in the active scene
# ------------------------------------------------------------------------
def update_func(self, context):
    for obj in bpy.data.objects:
        if (self.my_bool == True):
            #print ("Property Enabled")
            obj.hide = True
        else:
            #print ("Property Disabled")
            a = obj.hide=False
            print(a)
def update_func_1(self, context):
    for obj in bpy.data.objects:
        if (self.my_bool1 == True and obj.name=="Cube"):
            print ("Property Enabled")
            obj.hide = True
        else:
            print ("Property Disabled")
            obj.hide = False

class MySettings(PropertyGroup):

    my_bool = BoolProperty(
        name="Enable or Disable",
        description="A bool property",
        default = False,
        update = update_func
        )
    my_bool1 = BoolProperty(
        name="Enable or Disable",
        description="A bool property",
        default = False,
        update = update_func_1
        )
    my_int = IntProperty(
        name = "Set a value",
        description="A integer property",
        default = 23,
        min = 10,
        max = 100
        )

    my_float = FloatProperty(
        name = "Set a value",
        description = "A float property",
        default = 23.7,
        min = 0.01,
        max = 30.0
        )

# ------------------------------------------------------------------------
#    myTool in the image editor
# ------------------------------------------------------------------------

class UV_OT_my_panel(Panel):
    bl_idname = "UV_OT_my_panel"
    bl_label = "My Tool_modify"
    bl_space_type = "VIEW_3D"   
    bl_region_type = "TOOLS"    
    bl_category = "Tools"

    def draw(self, context):
        layout = self.layout
        scene = context.scene
        mytool = scene.my_tool

        # display the properties
        layout.prop(mytool, "my_bool", text="hide everything")
        layout.prop(mytool, "my_bool1", text="only hide cube")
        layout.prop(mytool, "my_int", text="Integer Property")
        layout.prop(mytool, "my_float", text="Float Property")



# ------------------------------------------------------------------------
# register and unregister functions
# ------------------------------------------------------------------------

def register():
    bpy.utils.register_module(__name__)
    bpy.types.Scene.my_tool = PointerProperty(type=MySettings)

def unregister():
    bpy.utils.unregister_module(__name__)
    del bpy.types.Scene.my_tool

if __name__ == "__main__":
    register()