def METHOD_NAME(self, job_name: str, fail_dag_on_error: bool):
    if not isinstance(fail_dag_on_error, bool):
        self._raise_error(
            ERROR.TYPE,
            "The type of the job dict key fail_dag_on_error is not bool (True/False).",
            f"Change the Data Job Dict value of fail_dag_on_error. Current type"
            f" is {type(fail_dag_on_error)}. Expected type is bool.",
            [job_name],
        )