Is there a magic function for checking if a category is included in the top navigation and if not what is the correct way to check programmatically? I've come across a few possible ones online such as
getIncludeInMenu()
but none seem to work on the site I'm working on at the moment so I would appreciate a concrete answer.
P.s. I would have checked the file that the top menu is being rendered from but for some reason I'm having a nightmare trying to find it.