`"Rows".equals(key)` does the null-check for you and is generally a more null-safe style.