Yes, and they'll find the authoritative books. Of course a general reference librarian is most helpful to a general audience. If you are a professional developer, you want a specialist reference librarian, for example, one in computer science.
IME the specialist librarians are generally at university libraries, but they will answer respectful questions from the public up to a point (they aren't going to do a research project for you), especially those in public universities. For example, I was looking for a history of a specific time period of a certain country. There were books available, but I couldn't discern the credible from the nonsense, the fringe from the consensus from the advocate for a specific theory or cause, etc. I emailed the specialist librarian for that region of the world at an Ivy League school; they had a PhD from Yale in the field, and of course could immediately tell me everything I wanted to know, and even generously shared more recommendations.