const config = require('komodo-sdk/config'); module.exports = (apikey) => apikey && apikey === ( config.listener && config.listener.apiserver && config.listener.apiserver.apikey );