- TIBCO BusinessEvents®
- Standard
- Collections

# Collections.contains()

## Signature

`boolean contains ( Object collection, Object element )`

## Domain

ACTION

## Description

Returns true if this collection contains the specified element.

## Parameters

Name | Type | Description
--- | --- | ---
`collection` | `Object` | The Collection object
`element` | `Object` | Element whose presence in this collection is to be tested

## Returns

Type | Description
--- | ---
`boolean` | true, If this collection contains the specified element

## Cautions

none