So that interviewers can gauge your ability on searching & referencing code examples from the web? Who's being realistic?
Being able to search and separate the wheat from the chaff is most definitely a skill. Unless you always want to be reinventing wheels.
EDIT: Unless your job is to invent a better bread recipe.
Its amazing how many people cant.