How can we check whether the barometric tube contains air or not?

If on raising or lowering the barometric tube in a trough of mercury, the height h, of mercury column changes, then air is present in the barometric tube