replace _.filter to _.some