Whiff test is used to detect :