Reference Manual: (offline | online) Quickstart: (offline | online)

# renpy.loadable

Function: renpy.loadable( | filename)

Returns True if the given filename is loadable, meaning that it can be loaded from the disk or from inside an archive. Returns False if this is not the case.

## Example

    if not renpy.loadable("secret_ending_screen.jpg"):
        "It looks like I can't show you the secret ending..."

Reference Manual: (offline | online) Quickstart: (offline | online)