# package_is_installed

Check if a package is installed.

```rhai
package_is_installed(package: &str) -> bool
```

## Examples

```rhai
if package_is_installed("git")? {
    print("Git is installed");
}
```

```rhai
if !package_is_installed("docker")? {
    package_install("docker")?;
}
```
