Checks if widget text equals the text specified by the given string id

@return true if text specified by stringId equals widget text
513986
public boolean verifyText(String stringId) {
    String text = desktopUtils.getString(stringId, true /* skipAmpersand */);

    return getText().equals(text);
  }
602720
public void setId(java.util.Collection<StringFilter> id) {
        if (id == null) {
            this.id = null;
            return;
        }

        this.id = new java.util.ArrayList<StringFilter>(id);
    }
1244510
protected void compareText(Text control, Text test,
                               DifferenceListener listener)
        throws DifferenceFoundException {
        compareText((CharacterData) control, (CharacterData) test, listener);
    }
782574
public boolean hasNext () {
	while (_next == null && _ds.hasNext())
	    _next = createEvent((String)_ds.nextToken());
	return _next != null;
    }
1114185
public boolean hasNext() {

        if (items != null) {
            if (items.hasNext()) {
                return (true);
            } else {
                items = null;
            }
        }
        Object next = findNextValidChild();
        while (next != null) {
            initializeItems(next);
            if (items != null) {
                return true;
            } else {
                next = findNextValidChild();
            }
        }
        return false;

    }
1357503
function getExistingWidget(id, type) {
    var existingEl = document.getElementById(id);
    var existingWidget;

    if (existingEl && (existingWidget = existingEl.__widget) && existingWidget.__type === type) {
        return existingWidget;
    }

    return null;
}
921465
public static boolean has(String text){
        for(char c : text.toCharArray()){
            if(is(c)){
                return true;
            }
        }
        return false;
    }
1248314
protected boolean verifyStringMatch(String text) {
		if (text == null) {
			return false;
		}
		if (!this.caseSensitive) {
			text = text.toLowerCase();
		}
		return text.equals(this.expectedString);
	}
672205
public void setHtmlElementId(String id) {
		htmlElementId = id;
		mapWidget.setHtmlElement(DOM.getElementById(id));
		mapWidget.draw();
	}
1370734
function checkId(id) {
  id = id || "";
  id = id.toString();
  return _.isString(id) && id.length === 24;
}
396283
function isString(value, message, id) {
    if (message === void 0) { message = ''; }
    if (id === void 0) { id = ''; }
    if (this.enabled && !(typeof value === 'string' || value instanceof String)) {
        throw TypeException.unexpectedType(assertionTypes.IS_STRING, value, '<string>', message, id);
    }
}
1211116
public static boolean equalsString(final String thisStr, final String thatStr) {
    if ((thisStr == null) && (thatStr == null)) {
      return true;
    }

    if (thisStr == null) {
      return false;
    }

    return thisStr.equals(thatStr);
  }
385616
public boolean removeDivider(String text) {
        for (int k = 0; k < list.getWidgetCount(); k++) {
            Widget w = list.getWidget(k);
            if (isDivider(w) && w.getElement().getInnerText().equals(text)) {
                list.remove(k);
                items.remove(k);
                return true;
            }
        }
        return false;
    }
501148
public static boolean isValid(AppIdToken appIdToken, String appId, String token) {
        if (appIdToken == null || StringUtil.isEmpty(appId) || StringUtil.isEmpty(token)) {
            return false;
        }
        return appIdToken.appId.equals(appId) && appIdToken.token.equals(token);
    }
1324515
@Override
  public boolean isEqual(String data1, String data2)
  {
    return LangUtils.isEqual(data1, data2);
  }
141621
public boolean matches(ExtensionId extensionId)
    {
        if (Objects.equal(getId(), extensionId.getId())) {
            if (getVersion() == null || extensionId.getVersion() == null
                || Objects.equal(getVersion(), extensionId.getVersion())) {
                return true;
            }
        }

        return false;
    }
495196
private boolean isUbique(String id, RelType context)
	{
		if (context == null) return this.context.containsKey(id);

		if (!isUbique(id)) return false;

		RelType ctx = this.context.get(id);
		return ctx == null || ctx.equals(context);
	}