No. There is no chemical which changes color when someone urinates in a swimming pool.

There are dyes which could cloud, change color, or produce a color in response to urine, but these chemicals would also be activated by other compounds, producing embarrassing false-positives.