Given the array_diff_key(), I'm not sure that this condition is necessary.