original_string: protected function detectActionIsOutlinkOnAliasHost(Action $action, $idSite)
      {
          $decodedActionUrl = $action->getActionUrl();
          $actionUrlParsed  = @parse_url($decodedActionUrl);
  
          if (!isset($actionUrlParsed['host'])) {
              return false;
          }
  
          return Visit::isHostKnownAliasHost($actionUrlParsed['host'], $idSite);
      }
code: protected function detectActionIsOutlinkOnAliasHost(Action $action, $idSite)
      {
          $decodedActionUrl = $action->getActionUrl();
          $actionUrlParsed  = @parse_url($decodedActionUrl);
  
          if (!isset($actionUrlParsed['host'])) {
              return false;
          }
  
          return Visit::isHostKnownAliasHost($actionUrlParsed['host'], $idSite);
      }
code_tokens: protected function detectActionIsOutlinkOnAliasHost ( Action $ action , $ idSite ) { $ decodedActionUrl = $ action -> getActionUrl ( ) ; $ actionUrlParsed = @ parse_url ( $ decodedActionUrl ) ; if ( ! isset ( $ actionUrlParsed [ 'host' ] ) ) { return false ; } return Visit :: isHostKnownAliasHost ( $ actionUrlParsed [ 'host' ] , $ idSite ) ; }
docstring: Detect whether action is an outlink given host aliases
  
  @param Action $action
  @return bool true if the outlink the visitor clicked on points to one of the known hosts for this website
docstring_tokens: Detect whether action is an outlink given host aliases