def convert_attribute_tag_to_name(value):
if not isinstance(value, Tags):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>for entry in attribute_name_tag_table:<EOL><INDENT>if value == entry[<NUM_LIT:1>]:<EOL><INDENT>return entry[<NUM_LIT:0>]<EOL><DEDENT><DEDENT>raise ValueError("<STR_LIT>".format(value))<EOL>
A utility function that converts an attribute tag into the corresponding
attribute name string.

For example: enums.Tags.STATE -> 'State'

Args:
    value (enum): The Tags enumeration value of the attribute.

Returns:
    string: The attribute name string that corresponds to the attribute
        tag.

Raises:
    ValueError: if the attribute tag is not a Tags enumeration or if it
        is unrecognized attribute tag