protected function hasCustomCommands()
{
trigger_error(__METHOD__ . ' moved, use config directly instead', E_USER_DEPRECATED);
$config = $this->config->getConfig();
return isset($config['commands']['customCommands']) && is_array($config['commands']['customCommands']);
}