def render_items_vert(items):
 if isinstance(items, dict):
  items = items.items()
 return ', '.join(('<b>{}</b>: {}'.format(key, value) for (key, value) in items if ((value is not None) and (value is not False))))

def render_items_vert ( items ) : if isinstance ( items , dict ) : items = items . items ( ) return ', ' . join ( ( '<b>{}</b>: {}' . format ( key , value ) for ( key , value ) in items if ( ( value is not None ) and ( value is not False ) ) ) )
render a sequence of pairs or an ordereddict as a comma-separated list .