Night Shift Detection

Does anyone know if it’s possible to detect night shift is active on the user’s iOS device?
My App would like to warn users that colors will not be accurate when night shift is active.