'Return the set of names of all resources in the template.
This includes resources that are disabled due to false conditionals.'

def all_rsrc_names(self):

    if hasattr(self._template, 'RESOURCES'):
        return set(self._template.get(self._template.RESOURCES, (self._resource_defns or [])))
    else:
        return self.enabled_rsrc_names()
