1057 groups = [self.groups[groupName]] |
1057 groups = [self.groups[groupName]] |
1058 else: |
1058 else: |
1059 groups = [] |
1059 groups = [] |
1060 else: |
1060 else: |
1061 groups = list(self.groups.values()) |
1061 groups = list(self.groups.values()) |
1062 for group in groups: |
1062 |
1063 if group.hasEntry(entryName): |
1063 return any(group.hasEntry(entryName) for group in groups) |
1064 return True |
|
1065 |
|
1066 return False |
|
1067 |
1064 |
1068 def getTemplateNames(self, start, groupName=None): |
1065 def getTemplateNames(self, start, groupName=None): |
1069 """ |
1066 """ |
1070 Public method to get the names of templates starting with the |
1067 Public method to get the names of templates starting with the |
1071 given string. |
1068 given string. |