simplify semantics of R.isEmpty
Merge pull request #540 from davidchambers/is-empty

simplify semantics of R.isEmpty