public boolean hasType(String attrName, int typeName);
public boolean hasType(int position, String typeName);
public boolean hasType(String attrName, int typeNum);
public boolean hasType(int position, String typeNum);
Returns true if the attribute type matches the passed-in type name; otherwise, returns false.