code: public function doEnhancement(Lead $lead)
      {
          $didEnhnacement = false;
  
          if (!empty($lead)) {
              $ipAddresses = $lead->getIpAddresses()->getKeys();
              if (count($ipAddresses)) {
                  $ipAddress = array_pop($ipAddresses);
  
                  $utmTags = $lead->getUtmTags();
                  if (count($utmTags)) {
                      /** @var UtmTag $utmTag */
                      $utmTag    = array_pop($utmTags);
                      $userAgent = $utmTag->getUserAgent();
                  } else {
                      $settings  = $this->getIntegrationSettings()->getFeatureSettings();
                      $userAgent = $settings['default_user_agent'];
                  }
  
                  $result = $this->getModel()->getResult($ipAddress, $userAgent);
  
                  $lead->addUpdatedField('anura_result', $result);
                  $didEnhnacement = true;
              }
          }
  
          return $didEnhnacement;
      }
docs: @param Lead $lead
  
  @return bool
  
  @throws \GuzzleHttp\Exception\GuzzleException