private boolean hasKeySpace ( boolean printError ) { boolean hasKeyspace = keySpace != null ; if ( ! hasKeyspace && printError ) sessionState . err . println ( "Not authorized to a working keyspace." ) ; return hasKeyspace ; }
Returns true if this . keySpace is set false otherwise