# isAlipayPlusSupportedRegion

The **isAlipayPlusSupportedRegion** API is used by the MPP app to check whether the user is in Alipay+ supported region.

> **Note**: The API may return an incorrect result with the `false` value in the following conditions:
>
> -   The API is called for the first time after the MPP app integrates the SDK.
> -   The API is called for the first time after the MPP app clears the cache.

## Method signature

```java
public boolean isAlipayPlusSupportedRegion(Context context, String region);
```

## Request parameters

| **Name** | **Type** | **Length** | **Description** | **Required** |
| --- | --- | --- | --- | --- |
| context | Context | / | The context of the Android activity. | M |
| region | String | / | The region where the user is located. It is recommended to pass in the region if the MPP can obtain the user's location accurately. Otherwise, there is no need to pass in the region, and the user's location can be obtained automatically by the SDK based on the cellular service provider and time zone. | O |

## Response parameters

| **Type** | **Length** | **Description** | **Required** |
| --- | --- | --- | --- |
| boolean | / | Specify whether the user is in Alipay+ supported region. | M |

## Sample

```java
boolean isSupported = AlipayPlusClient.getInstance().isAlipayPlusSupportedRegion(context, "JP")
```