ST_IsValidTrajectory
Linear Referencing
ST_IsValidTrajectory (Python)
Tests if a geometry encodes a valid trajectory.
Tests if a geometry encodes a valid trajectory. A valid trajectory is represented as a LINESTRING with measures
(M values). The measure values must increase from each vertex to the next.
SQL reference:

