I think you meant: ```data.length >= 1 && (data.length == 1 || data[$-1] != 0)```