Given an array of numbers and a target number, determine whether the target can be obtained by summing any two numbers from the array. Use two distinct elements, including duplicate values at different indices when available. Implement has_two_sum(nums, target) and return a boolean.
def has_two_sum(nums, target):