TorneLIB\Module\Network\Wrappers\CurlWrapper::isCurlResource

From PHP 8.0 curl are returned as objects instead of resources (like CurlHandle, CurlMultiHandle, etc).

When investigation started, I did not know how much things was affected so this method was written to easier change future changes.