In the Schengen area, the border guards could in principle ask about it but usually don't. I don't think the airline care at all. It's mostly necessary if you need a visa because consulates do ask about it.