<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def story_root_for_new_outline(sender, instance, created, *args, **kwargs):
    '''
    If a new instance of a Outline is created, also create
    the root node of the story tree.
    '''
    if created and isinstance(instance, Outline):
        streeroot = StoryElementNode.add_root(outline=instance, story_element_type='root')
        streeroot.save()
        instance.refresh_from_db()