question: @ Override public boolean connectionAllowed ( String eventName ) { if ( ! eventName . equals ( "dataSet" ) && ! eventName . equals ( "trainingSet" ) && ! eventName . equals ( "testSet" ) && ! eventName . equals ( "instance" ) ) { return false ; } if ( m_listeneeTypes . size ( ) == 0 ) { return true ; } if ( m_listeneeTypes . contains ( "instance" ) && ! eventName . equals ( "instance" ) ) { return false ; } if ( ! m_listeneeTypes . contains ( "instance" ) && eventName . equals ( "instance" ) ) { return false ; } return true ; }
target:  Returns true if, at this time, the object will accept a connection via the named event