# Sandbox.Internal.TypeLibrary.HasAttribute

```csharp
bool HasAttribute(System.Type type)
```

Return true if this type contains this attribute

### Parameters

- `type` (`System.Type`)

### Returns

`bool`

Declared in [Sandbox.Internal.TypeLibrary](/api/Sandbox.Internal.TypeLibrary).
Assembly: `Sandbox.Reflection`.
