fixes isEmpty helper. Closes #12. sintaxi/harp#101