<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_paths_for_attribute(self, attribute_name):
 """ Returns a path list to all attributes that have with a particular name. """

        has_name = lambda name, structure:  name == attribute_name
        return self.find_path(has_name, on_targets=True)