A robust verification of the quantum nature of light