# Notification_Data_Access::exists()

Check if a similar notification already exists (deduplication).

```php
exists( int $user_id, string $type, string $object_type = '', int $object_id = 0, int $actor_id = 0 ): bool
```

## Parameters

- `$user_id` (int) User ID.
- `$type` (string) Notification type.
- `$object_type` (string) Object type.
- `$object_id` (int) Object ID.
- `$actor_id` (int) Actor ID.

## Return

`bool`
