Yes. Solar lights use sensors that detect when it gets dark and are designed only to switch on when that happens. If solar lights are positioned too close to street lights or in very well-lit areas, this can trick the solar light into believing it's still daytime, thus preventing the light from activating.