# IsValid(AnimationStream)

> Returns whether this is a valid handle.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/6000.7/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public bool IsValid(AnimationStream stream)
```

### Parameters

**** (\[AnimationStream]\(/engine/6000.7/script-reference/unityengine/animations/animationstream)): The [AnimationStream](/engine/6000.7/script-reference/unityengine/animations/animationstream.md) that holds the animated values.

### Returns

| Type                                                          | Description                     |
| ------------------------------------------------------------- | ------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Whether this is a valid handle. |

### Remarks

A TransformStreamHandle may be invalid if, for example, you didn't use the correct function to create it. .

Additional Resources: [AnimatorJobExtensions.BindStreamTransform](/engine/6000.7/script-reference/unityengine/animations/animatorjobextensions/bindstreamtransform.md)
