# Ledger::has_live_ref()

Whether a live (not reversed) award with this reference exists.

```php
has_live_ref( int $user_id, string $points_type_key, string $action_key, string $ref ): bool
```

## Parameters

- `$user_id` (int) User ID.
- `$points_type_key` (string) Type key.
- `$action_key` (string) Action key.
- `$ref` (string) Reference.

## Return

`bool` 

## Changelog

| Version | Description |
| --- | --- |
| 1.4.0 | Introduced |
