def _checkmotors(self, *args):
        "check that all args are motor names"
        for mname in args:
            if mname not in self.motors:
                raise Exception("Error: unknown motor name '%s'" % mname)
dataset/ETHPy150Open xraypy/xraylarch/plugins/epics/spyk.py/Spyk._checkmotors/original