# IsValid()

> Checks whether the ID has been successfully constructed from a correctly-formatted string.

## Definition

* **Type:** Method
* **Namespace:** [Unity.ProjectAuditor.Editor](/engine/6000.5/script-reference/unity/projectauditor/editor.md)
* **Assembly:** UnityEditor

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

### Returns

| Type                                                          | Description             |
| ------------------------------------------------------------- | ----------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the ID is valid |
