when data.items===0, mark it as false