code: def is_likely_inline(link):
      '''Return whether the link is likely to be inline.'''
      file_type = mimetypes.guess_type(link, strict=False)[0]
  
      if file_type:
          top_level_type, subtype = file_type.split('/', 1)
  
          return top_level_type in ('image', 'video', 'audio') or subtype == 'javascriptf is_likely_inline(link):
      '''Return whether the link is likely to be inline.'''
      file_type = mimetypes.guess_type(link, strict=False)[0]
  
      if file_type:
          top_level_type, subtype = file_type.split('/', 1)
  
          return top_level_type in ('image', 'video', 'audio') or subtype == 'javascript'
docs: Return whether the link is likely to be inline.