def is_from_decorator(node):
parent = node.parent<EOL>while parent is not None:<EOL><INDENT>if isinstance(parent, Decorators):<EOL><INDENT>return True<EOL><DEDENT>parent = parent.parent<EOL><DEDENT>return False<EOL>
Return True if the given node is the child of a decorator