Is it the second law of thermodynamics that provides a criterion for spontaneity?

I don't think so

yes

Yes, the second law of thermodynamics does provide a criterion for spontaneity. It states that in any spontaneous process, the total entropy of the system and its surroundings always increases. Entropy is a measure of the disorder or randomness of a system. In other words, if a process occurs spontaneously, it means that it naturally tends towards an increased disorder or randomness.

To find this information, one can refer to scientific literature or educational resources that specifically discuss the second law of thermodynamics. Textbooks on thermodynamics, online educational platforms, and reliable scientific websites are good sources where you can find detailed explanations about the second law of thermodynamics and its relation to spontaneity. Additionally, physics or chemistry professors, tutors, or professionals in the field can provide explanations and answer any further questions you might have.