private boolean isMapAttribute(PluralAttribute<? super X, ?, ?> attribute)
    {
        return attribute != null && attribute.getCollectionType().equals(CollectionType.MAP);
    }
private boolean isMapAttribute ( PluralAttribute < ? super X , ? , ? > attribute ) { return attribute != null && attribute . getCollectionType ( ) . equals ( CollectionType . MAP ) ; }
Checks if is map attribute.

@param attribute
the attribute
@return true, if is map attribute