Since users won't be calling check_origin directly I don't think a usage example belongs in the docstring.