code: func MatchCallByPackage(n ast.Node, c *Context, pkg string, names ...string) (*ast.CallExpr, bool) {
  
  	importedName, found := GetImportedName(pkg, c)
  	if !found {
  		return nil, false
  	}
  
  	if callExpr, ok := n.(*ast.CallExpr); ok {
  		packageName, callName, err := GetCallInfo(callExpr, c)
  		if err != nil {
  			return nil, false
  		}
  		if packageName == importedName {
  			for _, name := range names {
  				if callName == name {
  					return callExpr, true
  				}
  			}
  		}
  	}
  	return nil, false
  }
docs: // MatchCallByPackage ensures that the specified package is imported,
  // adjusts the name for any aliases and ignores cases that are
  // initialization only imports.
  //
  // Usage:
  // 	node, matched := MatchCallByPackage(n, ctx, "math/rand", "Read")
  //