function materialIsLit( material_id)
Returns true if a material is affected by lights in the scene
Related:
SetMaterialLighting