Check If List Not Empty Python