protected function packageExists($packageKey, Node $node, CMS $application, Deployment $deployment, array $options = [])
    {
        $webDirectory = isset($options['webDirectory']) ? trim($options['webDirectory'], '\\/') : '';
        return $this->directoryExists($webDirectory . '/typo3conf/ext/' . $packageKey, $node, $application, $deployment, $options);
    }
protected function packageExists($packageKey, Node $node, CMS $application, Deployment $deployment, array $options = [])
    {
        $webDirectory = isset($options['webDirectory']) ? trim($options['webDirectory'], '\\/') : '';
        return $this->directoryExists($webDirectory . '/typo3conf/ext/' . $packageKey, $node, $application, $deployment, $options);
    }
protected function packageExists ( $ packageKey , Node $ node , CMS $ application , Deployment $ deployment , array $ options = [ ] ) { $ webDirectory = isset ( $ options [ 'webDirectory' ] ) ? trim ( $ options [ 'webDirectory' ] , '\\/' ) : '' ; return $ this -> directoryExists ( $ webDirectory . '/typo3conf/ext/' . $ packageKey , $ node , $ application , $ deployment , $ options ) ; }
Checks if a package exists in the packages directory

@param string $packageKey
@param Node $node
@param CMS $application
@param Deployment $deployment
@param array $options
@return bool
Checks if a package exists in the packages directory