boolean isKey(String attribute)
Returns true if the attribute is a key attribute; returns false if it is not a key attribute.
The following example determines whether the CustID attribute of the customer business object is a key attribute.
boolean keyId = (customer.isKey("CustID"));