Determines if an attribute is a part of the business object primary key, given the attribute's name or its position in the business object's attribute list.
public boolean isKeyAttr(String attrName);
public boolean isKeyAttr(int position);
Returns true if the attribute is a primary key, or part of the primary key, for the business object; otherwise, returns false.