[minor] Clean up, just use Array.isArray