docs: def _get_media(media_types):
      """Helper method to map the media types."""
      get_mapped_media = (lambda x: maps.VIRTUAL_MEDIA_TYPES_MAP[x]
                          if x in maps.VIRTUAL_MEDIA_TYPES_MAP else None)
      return list(map(get_mapped_media, media_types))