> How about, Converting dynamic arrays to boolean is deprecated. Did you mean to test array.length instead?.

Sounds good.