def init_parent_name(self, sheet):
    row = sheet.row_values(PARENT_NAME_ROW)
    self.parent_name = row[PARENT_NAME_COL]
    if (type(self.parent_name) is not str):
        raise Exception(((('[' + self.name) + ']') + 'Parent name is not string'))
        sys.exit()
    self.is_root = (self.parent_name == ROOT_NAME)
def init_parent_name(self, sheet):
    row = sheet.row_values(PARENT_NAME_ROW)
    self.parent_name = row[PARENT_NAME_COL]
    if (type(self.parent_name) is not str):
        raise Exception(((('[' + self.name) + ']') + 'Parent name is not string'))
        sys.exit()
    self.is_root = (self.parent_name == ROOT_NAME)