def relevant_values(all_values):
 return dict(((option, value) for (option, value) in six.iteritems(all_values) if (_relevant(option) and cli.option_was_set(option, value))))

def relevant_values ( all_values ) : return dict ( ( ( option , value ) for ( option , value ) in six . iteritems ( all_values ) if ( _relevant ( option ) and cli . option_was_set ( option , value ) ) ) )
return a new dict containing only items relevant for renewal .