def has_merge_task(job):
    """ Check if user has specified a mergeTask on the task factory
    :param job_obj: The JSON job entity loaded from a template.:
    :return: true if merge task present
    """
    if job.task_factory.type in ['parametricSweep', 'taskPerFile'] and job.task_factory.merge_task:
        return True
    return False