# validate

> Whether the method decorated by this instance of the menu item attribute is a validate function.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public bool validate
```

### Remarks

This field stores the value set by the `isValidateFunction` parameter passed to the constructor. The field is public only for the benefit of Unity systems. Initialize it via the constructor parameter and don't modify it again.
