returns false if insertRandom fails, true otherwise