Check whether given dict of config is job config

def is_job_config(config):
    """
    Check whether given dict of config is job config
    """
    try:
        # Every job has name
        if config['config']['job']['name'] is not None:
            return True
    except KeyError:
        return False
    except TypeError:
        return False
    except IndexError:
        return False

    return False