code: private function checkIfOriginIsInReferrers($orderOrigin, array $referrers)
      {
          foreach ($referrers as $referrer) {
              if ($referrer['referrerId'] === $orderOrigin) {
                  return true;
              }
          }
  
          return false;
      }
docs: @param string $orderOrigin
  @param array  $referrers
  
  @return bool