# Sandbox.DisplayInfo.HasTag

```csharp
bool HasTag(string t)
```

Returns whether this type or member has given tag. ([TagAttribute](/api/TagAttribute))

### Parameters

- `t` (`string`): The tag to test.

### Returns

`bool`: Whether the tag is present or not

Declared in [Sandbox.DisplayInfo](/api/Sandbox.DisplayInfo).
Assembly: `Sandbox.Reflection`.
