The sufficient condition for an extremum in the classical action integral as an eigenvalue problem