In cycles set_use_camera turns on a renderable light but that object seems to cast shadows

We’re trying out the set_use_camera flag for lights which appears to draw a primitive at the light source to represent the light but it appears that object casts shadow from other lights. Anyway to turn that off? Also is this just some debug tool or something used in Blender to show a light in the IDE?