In Lagrangian mechanics, I came across the notion of a point transformation which leaves the Lagrangian invariant. Normally it is denoted as follows.
$$Q = Q(q,t).$$
Now, unlike in the case of a canonical transformations (wherein there exist certain explicit conditions to check if a given transformation is canonical), I am unable to find a mechanism with which I can check whether a transformation, given as above, is a point transformation. Further, the instructor in my course said
'Unlike the Lagrangian which is invariant under any transformation, the Hamiltonian is not invariant under any arbitrary transformation. This is because the canonical coordinates and the conjugate momenta are independent in the Hamiltonian paradigm, but they are related in the Lagrangian paradigm.'
Does this mean that any transformation of the form $ Q = Q(q,t) $ is a point transformation i.e leaves the Lagrangian invariant? If not, how do I check if a given transformation is a point transformation?