'Determine correct "load torrent" RPC method'

def _get_load_function(self, file_type, start, verbose):

    func_name = None
    if (file_type == 'url'):
        if (start and verbose):
            func_name = 'load_start_verbose'
        elif start:
            func_name = 'load_start'
        elif verbose:
            func_name = 'load_verbose'
        else:
            func_name = 'load'
    elif (file_type in ['file', 'raw']):
        if (start and verbose):
            func_name = 'load_raw_start_verbose'
        elif start:
            func_name = 'load_raw_start'
        elif verbose:
            func_name = 'load_raw_verbose'
        else:
            func_name = 'load_raw'
    return func_name
