Yes, the meaning of "whether" here is similar to "either". But "either" really should be used only when talking about two choices or possibilities. "Whether" can be used for more than two.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.