def METHOD_NAME(project, context, dashboard=False):
    insight, created = ProjectInsight.objects.get_or_create(project=project)
    if dashboard or insight.display:
        context.update(create_insight_context(insight=insight))
    return context