Modern Boeing and Airbus aircraft employ a suction system for the lavatory on board. How is this suction system powered? By utilizing an on board suction pump or natural pressure and velocity difference from outside the aircraft during flight?
One way to find out would be to try a flush while plane is on a taxiway, but access to the lavatory during that period is not allowed.