public boolean canSendEvent(){
  try {
    validateSendEvent();
    return true;
  }
 catch (  Exception e) {
    return false;
  }
}

public boolean canSendEvent ( ) { try { validateSendEvent ( ) ; return true ; } catch ( Exception e ) { return false ; } }
returns true if connectemc is configured and it is control node .
