use isBoom instead of instanceof Boom