def if_sum(given_list, desired_sum):
    """
    Args: The sum to be checked
    """
    s = set()
    for i in range(0, len(given_list)):
        temp = desired_sum - given_list[i]
        if temp in s:
            return True
        s.add(given_list[i])
    return False
