hasAttribute


SoftLayer_Account::hasAttribute

Determine if an account has a given attribute.

Description

Determine if an account has an SoftLayer_Account_Attribute associated with it. hasAttribute() returns false if the attribute does not exist or if it does not have a value.

Parameters

Name Type Description
attributeType string The SoftLayer_Account_Attribute_Type key name associated with the account attribute you wish to determine exists.

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Associated Methods