[origin-ui-192] Handle cartridges restricted by gear size

Can you add a comment with a quick description of the expected behavior of this validation method so someone else wanting to use it doesnt have to decipher what it is doing.  Mainly that it validates that a given value must be in all of the given arrays.  (the method name to me could mean that it only needs to be in on of them).  It might even be worth renaming from in_arrays to in_all_arrays.