def METHOD_NAME(self, hierarchy_name: str) -> bool:
    for hierarchy in self._hierarchies:
        if case_and_space_insensitive_equals(hierarchy.name, hierarchy_name):
            return True
    return False