Implement `hasTwoSum(nums, target)` that returns true if any two numbers in the array sum up to the target.
[2,7,11,15], 9
true