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

Should we be returning true when arrays is not an array?  Seems like we should trigger a false in that case so someone doesn't unknowingly misuse the validator and think its working when it is just skipping over the actual checks.   Is there a case you have where you are passing in nil for arrays?