def set_implicit_options(role_fn):
 if ((not hasattr(role_fn, 'options')) or (role_fn.options is None)):
  role_fn.options = {'class': directives.class_option}
 elif ('class' not in role_fn.options):
  role_fn.options['class'] = directives.class_option

def set_implicit_options ( role_fn ) : if ( ( not hasattr ( role_fn , 'options' ) ) or ( role_fn . options is None ) ) : role_fn . options = { 'class' : directives . class_option } elif ( 'class' not in role_fn . options ) : role_fn . options [ 'class' ] = directives . class_option
add customization options to role functions .