def METHOD_NAME(self, **kwargs):
    """Kill jobs in the given list"""
    resultDict = {}
    MANDATORY_PARAMETERS = ["JobIDList"]
    for argument in MANDATORY_PARAMETERS:
        if argument not in kwargs:
            resultDict["Status"] = -1
            resultDict["Message"] = "No %s" % argument
            return resultDict
    jobIDList = kwargs.get("JobIDList")
    if not jobIDList:
        resultDict["Status"] = -1
        resultDict["Message"] = "Empty job list"
        return resultDict
    successful = []
    failed = []
    errors = ""
    for job in jobIDList:
        sp = subprocess.Popen(
            shlex.split("bkill %s" % job),
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,
            universal_newlines=True,
        )
        output, error = sp.communicate()
        status = sp.returncode
        if status != 0:
            failed.append(job)
            errors += error
        else:
            successful.append(job)
    resultDict["Status"] = 0
    if failed:
        resultDict["Status"] = 1
        resultDict["Message"] = error
    resultDict["Successful"] = successful
    resultDict["Failed"] = failed
    return resultDict