def METHOD_NAME(self, gdsdir, layers, primdir, scale):
    for m in self._removedmodules:
        gdsfile = gdsdir + m[0] + '.gds'
        if os.path.isfile(gdsfile):
            gds2lef = GDS2_LEF_JSON(layers, gdsfile, m[0])
            gds2lef.writeLEFJSON(primdir, scale)
        else:
            gdsfile = gdsdir + m[0].lower() + '.gds'
            if os.path.isfile(gdsfile):
                gds2lef = GDS2_LEF_JSON(layers, gdsfile, m[0])
                gds2lef.writeLEFJSON(primdir, scale)
            else:
                  print(f'leaf {gdsfile} not found')
                  return False
    return True