On a uniqueness theorem of Sturm–Liouville equations with boundary conditions polynomially dependent on the spectral parameter