Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/b/l/blenderpython-HEAD/scripts/addons_extern/sun_position/operators.py   blenderpython(Download)
                if not Hdr.isActive:
                    Sun.SP.BindToSun = False
                    if not Hdr.activate(context):
                        Sun.SP.ShowHdr = False
            elif Hdr.isActive: