The second one is more likely to be used than the first one. The first one implies a higher degree of uncertainty- triggered by the usage of "if" or "whether"
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.