Performance improvement by calling isEvery for isValid
Performance improvement by calling isEvery for isValid