webrender_api: Prefer is_empty to len comparisons against 0.
webrender_api: Prefer is_empty to len comparisons against 0.

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender