faster way of determining if the mux is empty