def METHOD_NAME(self, context=None):
    context = context or CONTEXT_MENU_ITEMS
    return [(name, str(item)) for name, item in (
        (name, self._build_item(mediatypes)) for name, mediatypes in context.items()) if item]