What is the primary function of a fireplace damper that a home inspector verifies during an inspection?