Simplified use of all function, as it is not available in Python 2.6