What is the meaning of Presence_of_mind?

Focused alertness, good sense, quick-thinking resourcefulness, or stability of feeling and thought, especially in spite of circumstances which are distracting, stressful, or otherwise challenging.

Source: wiktionary.org