Somehow isEmpty got dropped from the docs.