@property<EOL><INDENT>def ids(self):<DEDENT>
assert self.name == "<STR_LIT>"<EOL>ids = list()<EOL>for attr in self.attrs:<EOL><INDENT>attr_obj = getattr(self, attr)<EOL>if hasattr(attr_obj, '<STR_LIT>'):<EOL><INDENT>ids.append(getattr(attr_obj, '<STR_LIT>'))<EOL><DEDENT><DEDENT>return ids<EOL>
Convenience method to get the ids for Materials present