{% set options = createModel(model,extension).getOptions(id) %} {% if options.toArray()|length > 0 %}