code: private boolean isListAttribute(PluralAttribute<? super X, ?, ?> attribute)
      {
          return attribute != null && attribute.getCollectionType().equals(CollectionType.LIST);
      }
docs: Checks if is list attribute.
  
  @param attribute
  the attribute
  @return true, if is list attribute