Principle of Stationary Action:
Given a mechanical system, there exists an action $S$ such that it is extremitized, or $\delta S=0$, for the actual motion of the system.
$$S = \int_{t_1}^{t_2}L(q, \dot{q}, t)dt$$
where $L$ is the Lagrangian of the system.
Euler-Lagrangian Equation: $$\frac{d}{dt}\bigg(\frac{\partial L}{\partial \dot{q}}\bigg) = \frac{\partial L}{\partial q}$$
My understanding that the extremum of S implies that the E-L Equation is satisfied.
My question is: Does it work the other way? i.e. Given a mechanical system, is demanding $\delta S = 0$ for its action equivalent to demanding $\frac{d}{dt}\big(\frac{\partial L}{\partial \dot{q}}\big) = \frac{\partial L}{\partial q}$ for its Lagrangian?