# Sandbox.IValid.IsValid

## Overload 1

```csharp
static bool IsValid(IValid obj)
```

Returns false if [Sandbox.IValid](/api/Sandbox.IValid) object is null or if [Sandbox.IValid.IsValid](/api/Sandbox.IValid/IsValid) returns false.

### Parameters

- `obj` (`IValid`)

### Returns

`bool`

## Overload 2

```csharp
static bool IsValid(IValid obj)
```

Returns false if [Sandbox.IValid](/api/Sandbox.IValid) object is null or if [Sandbox.IValid.IsValid](/api/Sandbox.IValid/IsValid) returns false.

### Parameters

- `obj` (`IValid`)

### Returns

`bool`

## Overload 3

```csharp
bool IsValid { get; set; }
```

Returns true if this object is still valid and can be safely accessed.
When false, accessing the object's properties or methods may throw exceptions.

Declared in [Sandbox.IValid](/api/Sandbox.IValid).
Assembly: `Sandbox.System`.
