def get_mol(self):
        '''Returns mol'''
        structure = parsers.get_mol(self.__chebi_id)

        if structure is None:
            structure = parsers.get_mol(self.get_parent_id())

        if structure is None:
            for parent_or_child_id in self.__get_all_ids():
                structure = parsers.get_mol(parent_or_child_id)

                if structure is not None:
                    break

        return None if structure is None else structure.get_structure()
Returns mol