code: def is_extension_supported(request, extension_alias):
      
      extensions = list_extensions(request)
      for extension in extensions:
          if extension['alias'] == extension_alias:
              return True
      else:
          return False
docs: Check if a specified extension is supported.
  
      :param request: django request object
      :param extension_alias: neutron extension alias