<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list_attributes(self):
 """ Returns the Node attributes names. Usage:: ['attributeB', 'attributeA'] :return: Attributes names. :rtype: list """


        return [attribute for attribute, value in self.iteritems() if issubclass(value.__class__, Attribute)]