Symmetry of Lagrangians of holonomic systems in terms of quasi-coordinates