---
title: contains
slug: campaign/docs/contains-unsubscribews
docTags: 
createdAt: 2026-07-02T19:01:45.566Z
---

**Type**: Boolean

**Parameters**

| Name        | Type   | Value        |
| ----------- | ------ | ------------ |
| sessionId   | String | Session ID   |
| recipientId | String | Recipient ID |

**Return values**

- true: Recipient is found on at least one unsubscribe list
- false: Recipient is not found on any unsubscribe list

**Note**: Usually, only one client-wide unsubscribe list exists.

**Code structure**

```javascript
boolean contains(String sessionId, String recipientId)
```
