# IsValid()

> Checks whether the preset type of this preset is valid.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Presets](/engine/7000.0/script-reference/unityeditor/presets.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public bool IsValid()
```

### Returns

| Type                                                          | Description                                                        |
| ------------------------------------------------------------- | ------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the preset type of this preset is valid. Otherwise, false. |

### Remarks

A preset can be invalid if created from an object excluded from the presets system.
