so if for whatever reason I have `import case_tags` or `from case_tags import render_case` that will fail, which could be devastating if it's in a views.py file or something. if you move it inside the method it only fails at runtime when the method is called which is a lot less dangerous (and the correct behavior you want to have if corehq isn't available)