Added inputIsEmpty helper to example in README