code: function load (robot) {
    robot.respond(/\bis (.*) an? (.*?)\??$/i, async (res) => {
      const name = res.match[1]
      const role = res.match[2]
      const hasRole = await userHasRole(robot, { name }, role).catch()
      if (typeof hasRole === 'undefined') {
        res.reply(`Sorry, I can't do that.`)
      } else {
        res.reply((hasRole)
          ? `Yes, @${name} has the \`${role}\` role.`
          : `No, @${name} does not have the \`${role}\` role.`
        )
      }
    })
  }
docs: Add command for bot to respond to requests for a role check on a user.
  e.g. "Hubot is admin an admin?" or "@bot is bot a bot" - both reply true.
  @param {Robot} robot The Hubot instance