public boolean isLiteral() {
    return this.getVariables().isEmpty();
  }
Flag to indicate that this template is a literal string, with no variable expressions.

@return true if this template is made up entirely of literal strings.
core/src/main/java/feign/template/Template.java