code: function hasGreenkeeper (options) {
    const config = options.data.root.config
    const showBadge = !!(config && config.badges && config.badges.greenkeeper) // coerce to boolean
    if (showBadge && !githubRepo(options)) {
      throw new Error('Greenkeeper badge should be enabled, but no github-repo was found.')
    }
    return showBadge
  }
docs: Check, if [Greenkeeper](https://greenkeeper.io) is enabled for this repository
  
  This can be configured in the `.thought/config.js`-file
  
  ```
  module.exports = {
  badges: {
  greenkeeper: true
  }
  }
  ```
  *
  @param {object} options options passed in by Handlebars
  @access public
  @throws Error if no badge is enabled but not github-repo url is found in package.json
  @memberOf helpers