Retrieves the end time of the incident/incidents from the output
        response

        Returns:
            end_time(namedtuple): List of named tuples of end time of the
            incident/incidents

def end_time(self):
        """Retrieves the end time of the incident/incidents from the output
        response

        Returns:
            end_time(namedtuple): List of named tuples of end time of the
            incident/incidents
        """
        resource_list = self.traffic_incident()
        end_time = namedtuple('end_time', 'end_time')
        if len(resource_list) == 1 and resource_list[0] is None:
            return None
        else:
            try:
                return [end_time(resource['end'])
                        for resource in resource_list]
            except (KeyError, TypeError):
                return [end_time(resource['EndTimeUTC'])
                        for resource in resource_list]