# IsValid()

> Returns true if the Preset type of this Preset is valid.

## Definition

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

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

### Returns

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

### Remarks

A Preset can be invalid if created from an Object excluded from the Presets system.
