code: protected function scripttagExists(array $shopScripttags, array $scripttag)
      {
          foreach ($shopScripttags as $shopScripttag) {
              if ($shopScripttag->src === $scripttag['src']) {
                  // Found the scripttag in our list
                  return true;
              }
          }
  
          return false;
      }
docs: Check if scripttag is in the list.
  
  @param array $shopScripttags The scripttags installed on the shop
  @param array $scripttag      The scripttag
  
  @return bool