Is a truancy officer a police officer?

Where I live this is a little more complicated than you would think.
Police officers are under the law "Peace Officers"
There are several other Officers that are Peace Officers as well.
Rail Way police, Highway patrol, Truancy etc.
So you have to be careful because they have the same protection under the law as Police.
Don't punch or spit on one, it doesn't go well.