A general purpose resource checker.