> For the complete documentation index, see [llms.txt](https://docs.covestlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.covestlabs.com/covest-insaas-protocol/insaas-smart-contracts/policyholder/policy-manager/others.md).

# Others

### isPolicyExist

```solidity
function isPolicyExist(string _policyId_) external view returns (bool)
```

Get is the policy exist.

| Name       | Type   | Description    |
| ---------- | ------ | -------------- |
| *policyId* | string | The policy id. |

| Name | Type | Description                                   |
| ---- | ---- | --------------------------------------------- |
| \[0] | bool | True if the policy is exist, false otherwise. |

### getPolicyStatus

```solidity
function getPolicyStatus(string _policyId_) external view returns (PolicyStatus)
```

Get the policy status.

| Name       | Type   | Description    |
| ---------- | ------ | -------------- |
| *policyId* | string | The policy id. |

| Name | Type                                                                                         | Description        |
| ---- | -------------------------------------------------------------------------------------------- | ------------------ |
| \[0] | [PolicyStatus](/covest-insaas-protocol/insaas-smart-contracts/policy-states.md#policystatus) | The policy status. |

### getPoliciesStatus

```solidity
function getPoliciesStatus(string[] _policyIds_) external view returns (PolicyStatus[])
```

Get the policies status.

| Name        | Type      | Description                                 |
| ----------- | --------- | ------------------------------------------- |
| *policyIds* | string\[] | The parameter that contains the policy ids. |

| Name | Type                                                                                             | Description          |
| ---- | ------------------------------------------------------------------------------------------------ | -------------------- |
| \[0] | [PolicyStatus\[\]](/covest-insaas-protocol/insaas-smart-contracts/policy-states.md#policystatus) | The policies status. |

### getPolicyData

```solidity
function getPolicyData(string _policyId_) external view returns (PolicyData)
```

Get the policy data.

| Name       | Type   | Description    |
| ---------- | ------ | -------------- |
| *policyId* | string | The policy id. |

| Name | Type                                                                                     | Description      |
| ---- | ---------------------------------------------------------------------------------------- | ---------------- |
| \[0] | [PolicyData](/covest-insaas-protocol/insaas-smart-contracts/policy-states.md#policydata) | The policy data. |

### getPoliciesData

```solidity
function getPoliciesData(string[] _policyIds_) external view returns (PolicyData[])
```

Get the policies data.

| Name        | Type      | Description                                 |
| ----------- | --------- | ------------------------------------------- |
| *policyIds* | string\[] | The parameter that contains the policy ids. |

| Name | Type                                                                                         | Description        |
| ---- | -------------------------------------------------------------------------------------------- | ------------------ |
| \[0] | [PolicyData\[\]](/covest-insaas-protocol/insaas-smart-contracts/policy-states.md#policydata) | The policies data. |
