> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# isValid

APISummary
Determines whether the current `TemplateBundle` object is valid.

## Syntax

### Android

```java
public boolean isValid();
```

#### Return

- `true` if the current `TemplateBundle` object is valid, else `false`.

### Desktop (C++)

```cpp
bool IsValid() const;
```

#### Return

- `true` if the current `LynxTemplateBundle` object is valid, else `false`.

## Compatibility

**Compatibility Table**

**Query:** `lynx-native-api.template-bundle.is-valid`

[Source](https://github.com/lynx-family/lynx-website/tree/main/packages/lynx-compat-data/lynx-native-api/template-bundle/is-valid.json)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| is-valid | Yes (2.8) | No | No | Yes (3.7) | Yes (3.7) | No |

**`is-valid`**

Determines whether the current TemplateBundle object is valid.

**Specifications:**

