def METHOD_NAME(app_label="sentry", format="json"):
    """Lists which classes have had silo decorators applied."""
    model_table = _create_model_table(app_label)
    endpoint_table = _create_endpoint_table(app_label)
    if format == "json":
        json_repr = {
            "models": ModelPresentation().as_json_repr(model_table),
            "endpoints": EndpointPresentation().as_json_repr(endpoint_table),
        }
        json.dump(json_repr, sys.stdout)
    elif format == "markdown":
        ModelPresentation().print_markdown(model_table)
        EndpointPresentation().print_markdown(endpoint_table)
    else:
        raise ValueError