The medium, the gas-pak sachet (opened and with water added) and an indicator are placed in an air-tight gas jar which is incubated at the desired temperature. The indicator tells whether the environment was indeed oxygen free or not.
The chemical indicator generally used for this purpose is "chemical methylene blue solution" that since synthesis has never been exposed to elemental oxygen. It is colored deep blue on oxidation in presence of atmospheric oxygen in the jar, but will become colorless when oxygen is gone, and anaerobic conditions are achieved.