return (tab.containsKey(name) && tab.get(name).equals(value)) || (getResolveParent() != null && getResolveParent(). containsAttribute(name, value));
if (value == null) throw new NullPointerException("Null 'value' argument."); if (tab.containsKey(name)) return tab.get(name).equals(value); else { AttributeSet p = getResolveParent(); if (p != null) return p.containsAttribute(name, value); else return false; }
  public boolean containsAttribute(Object name, Object value)  {    return (tab.containsKey(name) && tab.get(name).equals(value)) ||       (getResolveParent() != null && getResolveParent().       containsAttribute(name, value));  }