PYTHON: check list items on the ANY condition