def check_goldbach_for_num(n,primes_set) :
    '''gets an even integer- n, and a set of primes- primes_set. Returns whether there're two primes which their sum is n'''
    
    relevant_primes_set={p for p in primes_set if p<n}

    for prime in primes_set :
        if (n-prime) in  relevant_primes_set:
            return True
    return False


def check_goldbach_for_num(n,primes_set) :
    '''gets an even integer- n, and a set of primes- primes_set. Returns whether there're two primes which their sum is n'''
    
    relevant_primes_set={p for p in primes_set if p<n}

    for prime in primes_set :
        if (n-prime) in  relevant_primes_set:
            return True
    return False


gets an even integer- n, and a set of primes- primes_set. Returns whether there're two primes which their sum is n