Get Jetson Model name at runtime

I am developing an AI application that supports several Jetson models, and I have to know at runtime the Jetson model name.
I came across the file named “/sys/firmware/devicetree/base/model” but I would like to know if this file appears in all Jetson models and it is located under the same path.

Thanks!

YES.
They are all in the same path.