User blog:Drullkus/Lua code - How do you check if a page exists?

In the lua code, how do you check if a page exists? I want to check if a file exists before proceeding with a Lua Module.