Step 5: Write a resource checker

This step is optional.

See Writing the resource checker for details.