No, flies can still be attracted to a lampshade even if the light is not turned on. The markings left by previous flies can still serve as an attractant for subsequent flies.