code: public boolean isNull(String attrName) {
          return attributes.containsKey(attrName)
                  && attributes.get(attrName) == null;
      }
docs: Returns true if the specified attribute exists with a null value; false
  otherwise.