string name -- Name of the collection to check.
boolean
idEntity
Returns whether the entity is a member of the given named collection.