check if getCurlInfo method exists