Do ostriches really bury their heads in the sand?

The idea ostriches bury their heads when they feel threatened is thought have come from Roman naturalist Pliny the Elder around 2,000 years ago. But is it true?