AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortletRequest.IsInCommunity Method

Checks if the portlet is currently displayed in a Community page.

bool IsInCommunity();

#### Return Value

`true` if the portlet is displayed in a Community page and `false` otherwise.

#### Exceptions

Exception Type | Condition
--- | ---
NotGatewayedException | The request is not gatewayed.

#### See Also

IPortletRequest Interface | Plumtree.Remote.Portlet Namespace