Hi. Just wondering if there's a shortcut to this code?

```
if (calculation(codeword, s[0]) == calculation(codeword, s[1])
|| calculation(codeword, s[0]) == calculation(codeword, s[2])
|| calculation(codeword, s[0]) == calculation(codeword, s[3])
|| calculation(codeword, s[1]) == calculation(codeword, s[2])
|| calculation(codeword, s[1]) == calculation(codeword, s[3])
|| calculation(codeword, s[2]) == calculation(codeword, s[3]))
```

Thanks in advance!