improve isChainCaptured with Array.prototype.some