# isProgramActive()

### Function isProgramActive()

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

```javascript
function isProgramActive(Token pool) external view returns (bool)
```

{% endcode %}

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

### Function Arguments

| Name | Type    | Description                        |
| ---- | ------- | ---------------------------------- |
| pool | address | The contract address of the token. |

### 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>
