code: boolean isAttribute(String name)
      {
          if (attributes.containsKey(name))
              return true;
          return noStroke.containsKey(name);
      }
docs: Checks if the attribute exists.
  @param name the attribute key
  @return <CODE>true</CODE> if the attribute exists