the condition does not seem necessay since its always an array according to doc