Adding method to check whether an array key is another ArrayOk object