> ## 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

> Gibt zurueck, ob die angegebene Instance einen nicht-nil Eintrag im Instance cache hat.

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

  ## Argumente

  <ParamField path={"instance"} type={"Instance"} required>
    Instance, deren Instance cache Eintrag geprueft werden soll.
  </ParamField>

  ## Rückgaben

  <ResponseField name={"cached"} type={"boolean"}>
    True, wenn der cache einen nicht-nil Eintrag fuer die Instance enthaelt.
  </ResponseField>

  ## Beispiel

  Pruefe, ob eine Instance aktuell einen Eintrag im Instance cache von Real hat.

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

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

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