public function checkCore(array $module)
    {
        if (!isset($module['core'])) {
            throw new OutOfBoundsException($this->translation->text('Missing core version'));
        }

        if (version_compare(gplcart_version(), $module['core']) < 0) {
            throw new UnexpectedValueException($this->translation->text('Module incompatible with the current system core version'));
        }

        return true;
    }