> For the complete documentation index, see [llms.txt](https://docs.bancor.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bancor.network/developer-guides/read-functions/rewards/standard-rewards/isprogramactive.md).

# isProgramActive()

### Function isProgramActive()

{% code title="StandardRewards.sol" %}

```javascript
function isProgramActive(uint256 id) external view returns (bool)
```

{% endcode %}

This function is used to check if a specific rewards program is currently active.

### Function Arguments

| Name | Type    | Description                    |
| ---- | ------- | ------------------------------ |
| id   | uint256 | The ID of the rewards program. |

### Return Variables

This function returns a boolean indicating if the rewards program is currently active.&#x20;

<table><thead><tr><th>Variable Type</th><th width="420">Returns</th></tr></thead><tbody><tr><td>bool</td><td><strong>True:</strong> Rewards program is active.<br><strong>False:</strong> Rewards program is inactive. </td></tr></tbody></table>
