# IsEmpty()

> Reports whether no density has both layers assigned.

## Definition

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

```csharp
public bool IsEmpty()
```

### Returns

| Type                                                          | Description                                            |
| ------------------------------------------------------------- | ------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True when no density has both layers, otherwise false. |

### Remarks

A density is only usable when both its background and its foreground are assigned, so this reports true whenever no density has the pair. Assigning null to either layer replaces it with an empty set rather than leaving it null, so this is always safe to call.
