code: def resolve_import(name, is_from, is_star):
      
      # Don't try to resolve relative imports or builtins here; they will be
      # handled by resolve.Resolver
      if name.startswith('.') or is_builtin(name):
          return None
      ret = _resolve_import(name)
      if ret is None and is_from and not is_star:
          package, _ = name.rsplit('.', 1)
          ret = _resolve_import(package)
      return ret
docs: Use python to resolve an import.
  
      Args:
        name: The fully qualified module name.
  
      Returns:
        The path to the module source file or None.