> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# cache.iscached

> Mengembalikan apakah Instance yang diberikan memiliki entri non-nil di Instance cache.

<div className="real-function-page">
  ```lua theme={null}
  cache.iscached(instance: Instance): boolean
  ```

  ## Argumen

  <ParamField path={"instance"} type={"Instance"} required>
    Instance yang entri Instance cache-nya harus diperiksa.
  </ParamField>

  ## Return

  <ResponseField name={"cached"} type={"boolean"}>
    True saat cache berisi entri non-nil untuk Instance tersebut.
  </ResponseField>

  ## Contoh

  Periksa apakah sebuah Instance saat ini memiliki entri di Instance cache Real.

  ```lua theme={null}
  local Players = game:GetService("Players")

  local cached = cache.iscached(Players)
  print(cached)

  cache.invalidate(Players)
  print(cache.iscached(Players))
  ```
</div>
