if (Classof $ == Omnilight or Classof $ == Targetspot or Classof $ == freespot or Classof $ == TargetDirectionallight or Classof $ == Directionallight) then return true
)
Catch ()
fn flt_ModSel = Selection.count == 1 and SubObjectLevel == undefined
fn flt_Sel = Selection.count == 1
fn flt_Objects = Try (isKindOf $ GeometryClass and not IsKindof $ Editable_Mesh) Catch ()