While I'm sort of with the bolded, at the same time its not that simple.
Its really common how people pick up skills that are slightly outside of their initial job description/responsibility and plainly don't understand how valuable it is.
So while you can do online searches, network, browse job boards, etc to see what's attractive in the job market - there's plenty of cases where people plainly don't realize that a small thing they do is more important and sought after than they assume. That same point also goes back to employers not wanting to pay for specialized labor and slowly bringing people along but never truly letting them know how much that skill is actually worth. Maybe that database they're working on that they don't think twice about is actually one of the more reliable and that expertise/familiarity with it is highly sought after. You wouldn't know if you consider yourself a technician or manager and not an accounting specialist.
A good friend of mine assumed he'd have to go back to school and start a whole new career after years of working as a cook in the Army. Fortunately a recruiter caught him on the way out, helped change some perspectives, and made sure he hit the ground running towards a career in hospitality for major hotels and lodges. He never would've guessed he had a shot at that kind of job before that.
There's an inherent tunnel vision and lack of perspective that comes with being primarily based in any field. Hard to do research when you don't know what you don't know.