opendap/src/main/java/opendap/dap/AttributeTable.java
public final boolean hasAttribute(String clearname) {
        Attribute a = (Attribute) _attr.get(clearname);

        if (a == null) {
            return (false);
        }
        return (true);
    }
public final boolean hasAttribute(String clearname) {
        Attribute a = (Attribute) _attr.get(clearname);

        if (a == null) {
            return (false);
        }
        return (true);
    }
public final boolean hasAttribute ( String clearname ) { Attribute a = ( Attribute ) _attr . get ( clearname ) ; if ( a == null ) { return ( false ) ; } return ( true ) ; }
Returns the <code>Attribute</code> which matches name.

@param clearname the name of the <code>Attribute</code> to return.
@return True if an Attribute with named 'name' exists, False otherwise.
@see Attribute
Returns the <code > Attribute< / code > which matches name .