def copy(self, src, dst, suppress_layouts=False):
        """
        Copy artifact from src to dst
        """
        url = '/'.join([src.drive,
                        'api/copy',
                        str(src.relative_to(src.drive)).rstrip('/')])

        params = {'to': str(dst.relative_to(dst.drive)).rstrip('/'),
                  'suppressLayouts': int(suppress_layouts)}

        text, code = self.rest_post(url,
                                    params=params,
                                    auth=src.auth,
                                    verify=src.verify,
                                    cert=src.cert)

        if [200, 201] not in code:
            raise RuntimeError("%s" % text)
dataset/ETHPy150Open Parallels/artifactory/artifactory.py/_ArtifactoryAccessor.copy/swapped operands of `not in`