ext/bestitamazonpay4oxid_oxviewconfig.php
public function wasJSCodeInjected($sType)
    {
        $aCodeInjected = $this->_getInjectedCode();
        return isset($aCodeInjected[$sType]) && $aCodeInjected[$sType];
    }
public function wasJSCodeInjected($sType)
    {
        $aCodeInjected = $this->_getInjectedCode();
        return isset($aCodeInjected[$sType]) && $aCodeInjected[$sType];
    }
public function wasJSCodeInjected ( $ sType ) { $ aCodeInjected = $ this -> _getInjectedCode ( ) ; return isset ( $ aCodeInjected [ $ sType ] ) && $ aCodeInjected [ $ sType ] ; }
Checks if the code with given type was already injected.

@param $sType

@return bool
@throws oxSystemComponentException
Checks if the code with given type was already injected .