yes , toilets drains are vented to stop the "Head" of water dragging air down behind it resulting in a toilet that " glops" after you flush it , the farther away the toilet is from the vent the more it "glops"
the vent is nomally above the roof line , and any air presure diffence between the top of the vent and inside will cause the water to move