Removed unused allTrue function