My answer to the question is it depends on the system being played.
Most of the posts in this thread seem to assume D&D, or a D&D-like system, where looking and searching are (mostly) free in system terms, but risk bogging down play at the table, and the consequence of triggering a trap is...