Improved check for requests lib