Check If List Is Not Empty Python