def compare_metadata(self, other, namelist, missingok=True):
        for name in namelist:
            try:
                if other[name] != self[name]:
                    return False
            except __HOLE__:
                if not missingok:
                    return False
        return True
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/datafile.py/DataFileData.compare_metadata