That level of skepticism is the reality for any query to a human or a search engine. For example, maybe that first search result is correct, but for the wrong version of what you are looking for. Maybe your colleague didn't understand what you really wanted.
Where it is helpful is that it's way more convenient than asking a human, doing a web search, or looking it up in a book. Even if a followup question is required. In this particular case there is a lot of transferability between knowing programming languages, too, so one can filter most implausible answers even if they don't know the programming language they are asking about.