def _get_featurestate(name):
 featurestate = _featurestate_cache.get(name, None)
 if (featurestate is None):
  featurestate = FeatureState(name, _world)
  _featurestate_cache[name] = featurestate
 return featurestate

def _get_featurestate ( name ) : featurestate = _featurestate_cache . get ( name , None ) if ( featurestate is None ) : featurestate = FeatureState ( name , _world ) _featurestate_cache [ name ] = featurestate return featurestate
get a featurestate object for this feature .