# IHttpEngineHeaderList.Contains

Kind: Method  
Namespace: `Sisk.Core.Http.Engine`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Http.Engine.IHttpEngineHeaderList.Contains.html

## Contains(string) {#Sisk_Core_Http_Engine_IHttpEngineHeaderList_Contains_System_String_}

Determines whether the collection contains a header with the specified name.

```csharp
bool Contains(string name)
```

### Parameters

`name` [string](https://learn.microsoft.com/dotnet/api/system.string)

The name of the header to locate.

### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

[`true`](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool) if the collection contains the header; otherwise, [`false`](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool).
