<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_job_url(config, hub, group, project):
 """ Util method to get job url """

    if ((config is not None) and ('hub' in config) and (hub is None)):
        hub = config["hub"]
    if ((config is not None) and ('group' in config) and (group is None)):
        group = config["group"]
    if ((config is not None) and ('project' in config) and (project is None)):
        project = config["project"]
    if ((hub is not None) and (group is not None) and (project is not None)):
        return '/Network/{}/Groups/{}/Projects/{}/jobs'.format(hub, group, project)
    return '/Jobs'