def validate_config(self, config):
validate_job_spec_config(config)<EOL>return config<EOL>
We only validate the config if passed.

        Also we use the JobSpecification to check if this config was
        intended as job.