Is this a constant time comparison?