As has already been mentioned, yes, yes it is.
At least to an extent. The way history is taught in schools, both primary and secondary, is extremely rushed, rudimentary and basic. The ''agenda'' can mostly be categorised as lying by omission. For example, when learning about the Serbs in the Austrian Empire, what is taught is seen from a Serbian perspective while ignoring the Habsburg one and not going into much detail, consequently simplifying a situation that is considerably complex.
Save for an occasional inaccuracy, oversimplification and outdated info, what is said in these books is mostly true... but it's so simplified and rushed that it misses out on the context and the complexity of the situation, meaning that the students will miss the point unless they actively go out to seek the full context themselves, but that's not taught in school.
The textbooks are usually written by university professors and what is included in them is down to their personal opinion. The decision is down to said academic and his colleagues thinking ''hmmm... I think 7th graders should learn this and this about the Austrian Empire and this about the German Unification, while high schoolers should learn this and that about WWII''. When this is done, it goes on to get approved by the ministry of education, meaning that it has to get to politicians who aren't exactly well-versed in the material. There is no rigorous, objective process and it's all quite random, and often politically influenced (there was a controversy over a part of a textbook that covered early ... activism, which enraged the conservatives and they demanded that this part be redacted. The text wasn't factually wrong, it's just that some people have a problem with certain areas of history).
On a university level, academic history is completely different. This is where you get to conduct real historical research and do independent projects. What can happen here, as well as in any other social science, is that your professor might happen to be politically active. While they may know their subject matter and things they're supposed to teach, they might start telling you things that are in line with their own agenda. This isn't something that is systemic, indeed every university is autonomous and has its own education program, but is on a case-by-case basis. Some professors are transparent and objective, while others have clear agendas and axes to grind. It's up to you to filter which is which. Some college students figure this out, some do not.
The way the education system is set up means that everything will be politically influenced to an extent, even natural sciences like math and physics.