simplify semantics of R.isEmpty

As discussed in #539

@CrossEye agreed