code: public boolean containsVariableWithName(String name) {
          for (Token token : this) {
              if (token instanceof VariableToken && token.getText().equals(name)) {
                  return true;
              }
          }
          return false;
      }
docs: Checks whether this token list contains a {@link de.codecentric.zucchini.bdd.resolver.token.VariableToken} with
  the specified name.
  
  @param name The name to check.
  @return {@literal true} if this token list contains a
  {@link de.codecentric.zucchini.bdd.resolver.token.VariableToken} with the specified name, and {@literal false}
  otherwise.