HasAttribute Function

Returns TRUE if the referenced attribute is associated with an account, and it returns FALSE otherwise. You can use the new HasAttribute() function with Tag (Boolean) attributes, as well as with Text and Numeric attributes.

Syntax
HasAttribute( string )

string is an attribute reference.

Examples
HasAttribute( "Quality" )
Destination.HasAttribute( "Quality" )
Source.HasAttribute( "Quality" ) 
Further explanation

If an attribute association does not exist but the attribute has a default value, FALSE is returned. This works only for the numeric, text, and tag value attributes—not for dimension attributes.

This function must be evaluated in the context of an account. Appropriate "Source." or "Destination." prefixes might be needed to select the correct account.

Note: When used in the assignment rule for a rule-based driver, the attribute is assumed to refer to the destination account unless Source is specified.