<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_struct(declaration):
 """ Returns True if declaration represents a C++ struct Args: declaration (declaration_t):
 the declaration to be checked. Returns: bool: True if declaration represents a C++ struct """

    if not is_class(declaration):
        return False
    decl = class_traits.get_declaration(declaration)
    return decl.class_type == class_declaration.CLASS_TYPES.STRUCT