title: Spring Thymeleaf #lists.contains not working correctly
body: <p>My ultimate goal is to populate a dropdown with the roles that the current user does not have.</p>
  
  <pre><code>&lt;p th:text="${#bools.listIsTrue(Item.granted_authorities)}"&gt;&lt;/p&gt;
  </code></pre>
  
  <p>prints out <strong>[true, true, true]</strong></p>
  
  <pre><code>&lt;p th:text="${Item.granted_authorities}"&gt;&lt;/p&gt;
  </code></pre>
  
  <p>prints out <strong>[Ljava.lang.Object;@63a6ff07</strong></p>
  
  <pre><code>&lt;p th:text="${#lists.toList(Item.granted_authorities)}"&gt;&lt;/p&gt;
  </code></pre>
  
  <p>prints out <strong>[ROLE_ADMIN, ROLE_SUPERADMIN, ROLE_USER]</strong></p>
  
  <pre><code>&lt;div th:with="RoleList=${#lists.toList(activeSessionsItem.granted_authorities)}"&gt;
  &lt;p th:text="${#lists.contains(RoleList, RoleList[0])}"&gt;&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>prints out <strong>true</strong></p>
  
  <pre><code>&lt;div th:with="RoleList=${#lists.toList(activeSessionsItem.granted_authorities)}"&gt;
  &lt;p th:text="${#lists.contains(RoleList, 'ROLE_USER')}"&gt;&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>prints out <strong>false</strong></p>