@add_auth_token_to_kwargs_from_env
    def delete_by_id(self, instance_id, **kwargs):
        url = '/%s/%s' % (self.resource.get_url_path_name(), instance_id)
        response = self.client.delete(url, **kwargs)
        if [200, 204, 404] not in response.status_code:
            self.handle_error(response)
            return False
        try:
            resp_json = response.json()
            if resp_json:
                return resp_json
        except:
            pass
        return True
dataset/ETHPy150Open StackStorm/st2/st2client/st2client/models/core.py/ResourceManager.delete_by_id/swapped operands of `not in`