Python check if the texture is enabled
If you don't know any name in python properties, you can find it in data-blocks outliner:



In your case the value named use

For example, this points to first texture slot of first material of selected object:

bpy.context.object.data.materials[0].texture_slots[0].use