<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def evaluate(contents, jsonnet_library_paths=None):
    '''
    Evaluate a jsonnet input string.

    contents
        Raw jsonnet string to evaluate.

    jsonnet_library_paths
        List of jsonnet library paths.
    '''

    if not jsonnet_library_paths:
        jsonnet_library_paths = __salt__['config.option'](
                'jsonnet.library_paths', ['.'])
    return salt.utils.json.loads(
            _jsonnet.evaluate_snippet(
                "snippet",
                contents,
                import_callback=partial(
                    _import_callback, library_paths=jsonnet_library_paths)))