> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method IsValidStatus

Namespace: [Phoenix.ComponentAPI](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI)\
Assembly: Phoenix.ComponentAPI.dll

## IsValidStatus(RunStatus)

Given a status, check if it is a valid status for a component run result.
The valid statuses are those that indicate that the run is complete -
`Phoenix.ComponentAPI.RunStatus.SUCCESS`, `Phoenix.ComponentAPI.RunStatus.FAILED`, `Phoenix.ComponentAPI.RunStatus.CANCELED`.

```csharp theme={null}
public static bool IsValidStatus(RunStatus candidate)

```

### Parameters

`candidate` [RunStatus](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.RunStatus.md)

The candidate status.

### Returns

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

True if the status is valid for a component run result, false otherwise.
