like, one thing would be `assert all(a in list(traj.atoms()) and b in list(traj.atoms()) for (a,b) in traj.top.bonds())`