<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_list_values(self, name):
 """ Returns the values for a list item of the specified name. """

        # Make sure it's a list
        if not self.get_type(name) in ['list']: 
            self.print_message('ERROR: "'+name+'" is not a list.')
            return
        
        # Return a copy of the list values
        return list(self.get_widget(name).opts['values'])