def group_media_types(self):
        """A dict mapping group slices to media types, or None if the view is
        not grouped.
        """
        if not self._has_slices:
            return None

        return self._get_group_media_types()
A dict mapping group slices to media types, or None if the view is
        not grouped.
        
fiftyone/core/view.py