added we.utils.isArray for check if a object is array