Array Groovy Check Array Contains String Does Not Work Identically

Array Groovy Check Array Contains String Does Not Work Identically