Check If A List Is Not Empty Python