def validate_instantiation(**kwargs):
 if (kwargs and (kwargs.get('netapp_mode') == 'proxy')):
  return
 LOG.warning(_LW('It is not the recommended way to use drivers by NetApp. Please use NetAppDriver to achieve the functionality.'))

def validate_instantiation ( ** kwargs ) : if ( kwargs and ( kwargs . get ( 'netapp_mode' ) == 'proxy' ) ) : return LOG . warning ( _LW ( 'It is not the recommended way to use drivers by NetApp. Please use NetAppDriver to achieve the functionality.' ) )
checks if a driver is instantiated other than by the unified driver .