# IChannelNamespacePredicate Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.broadcastchannel/orleans.broadcastchannel.ichannelnamespacepredicate/)

## IsMatch(string) {#ismatch-string-fe52fb5e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.broadcastchannel/orleans.broadcastchannel.ichannelnamespacepredicate/methods/ismatch-string-fe52fb5e/)

```csharp
public abstract bool IsMatch(string streamNamespace)
```

Defines if the consumer grain should subscribe to the specified namespace.

### Parameters

- `streamNamespace` (`string`): The target stream namespace to check.

### Returns

`true`, if the grain should subscribe to the specified namespace; `false`, otherwise.
