public static function hasPluginDependency(array $requires)
    {
        $assets = false;

        foreach ($requires as $require) {
            if ('foxy/foxy' === $require->getTarget()) {
                $assets = true;

                break;
            }
        }

        return $assets;
    }
public static function hasPluginDependency(array $requires)
    {
        $assets = false;

        foreach ($requires as $require) {
            if ('foxy/foxy' === $require->getTarget()) {
                $assets = true;

                break;
            }
        }

        return $assets;
    }
public static function hasPluginDependency ( array $ requires ) { $ assets = false ; foreach ( $ requires as $ require ) { if ( 'foxy/foxy' === $ require -> getTarget ( ) ) { $ assets = true ; break ; } } return $ assets ; }
Check if the package contains assets.

@param Link[] $requires The require links

@return bool
Check if the package contains assets .