[TASK] Add some is_array checks