Best practice for using assert? Best practice for using assert? python python