# HasValue(TStore)

> Returns whether the given stored reference holds a value.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Localization](/engine/6000.7/script-reference/unity/localization.md)
* **Assembly:** UnityEngine.LocalizationRuntimeModule

## HasValue(T)

```csharp
protected abstract bool HasValue(TStore store)
```

### Parameters

**** (T): The stored reference to test.

### Returns

| Type                                                          | Description                                                  |
| ------------------------------------------------------------- | ------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` when the reference holds a value; otherwise, `false`. |
