Investigating nonclassicality in nonlinear electronic spectroscopy