yes, a good example for a bad question.
Edit: another example would be something like judging someone on if they remember the option name in an API call for a specific library. Trivial to google. Whiteboard interviews for stuff like this are asinine.