def variant(name, user=None):
 if (not user):
  user = _world.current_user()
 return _get_featurestate(name).variant(user)

def variant ( name , user = None ) : if ( not user ) : user = _world . current_user ( ) return _get_featurestate ( name ) . variant ( user )
return which variant of an experiment a user is part of .