Python Test If A List Is Empty In Python