The only way I can think of...
PHP Code:
function arrayContains(array, part) {
for (temp.arrayPart : array) {
if (part in arrayPart) {
return true;
}
}
}
If you have multi-dimensional arrays with more than one depth, though, you'll need to adjust that script.