def _check_delayed_ssp(container):
 if ((container.proj is True) or all((p['active'] for p in container.info['projs']))):
  raise RuntimeError('Projs are already applied. Please initialize the data with proj set to False.')
 elif (len(container.info['projs']) < 1):
  raise RuntimeError('No projs found in evoked.')

def _check_delayed_ssp ( container ) : if ( ( container . proj is True ) or all ( ( p [ 'active' ] for p in container . info [ 'projs' ] ) ) ) : raise RuntimeError ( 'Projs are already applied. Please initialize the data with proj set to False.' ) elif ( len ( container . info [ 'projs' ] ) < 1 ) : raise RuntimeError ( 'No projs found in evoked.' )
aux function to be used for interactive ssp selection .