question: @ Override public boolean connectionAllowed ( String eventName ) { if ( m_listenees . containsKey ( eventName ) ) { return false ; } if ( m_listenees . containsKey ( "dataSet" ) && ( eventName . compareTo ( "trainingSet" ) == 0 || eventName . compareTo ( "testSet" ) == 0 || eventName . compareTo ( "instance" ) == 0 ) ) { return false ; } if ( ( m_listenees . containsKey ( "trainingSet" ) || m_listenees . containsKey ( "testSet" ) ) && ( eventName . compareTo ( "dataSet" ) == 0 || eventName . compareTo ( "instance" ) == 0 ) ) { return false ; } if ( m_listenees . containsKey ( "instance" ) && ( eventName . compareTo ( "trainingSet" ) == 0 || eventName . compareTo ( "testSet" ) == 0 || eventName . compareTo ( "dataSet" ) == 0 ) ) { return false ; } if ( eventName . compareTo ( "instance" ) == 0 && ! ( m_Filter instanceof StreamableFilter ) ) { return false ; } return true ; }
target:  Returns true if, at this time, the object will accept a connection with respect to the supplied event name