@staticmethod
def context_merge_subject_and_session(context):
    """Merge session & subject labels"""
    merged = False
    if 'session' in context and 'label' in context['session']:
        context.setdefault('subject', {})['label'] = context['session']['label'
            ]
        merged = True
    if not merged and 'subject' in context and 'label' in context['subject']:
        context.setdefault('session', {})['label'] = context['subject']['label'
            ]
        merged = True
    return merged
