function showElementOnlyIf(element, condition) {
                                goog.dom.classlist.enable(
                                    element, e2e.ext.constants.CssClass.HIDDEN,
                                    !condition);
                              }
Hides an element if a condition is met, shows
it otherwise.
@param  {Element} element
@param  {boolean} condition