Changed "either if" to "whether"

Minor grammar correction to send a pull request as a test.