private boolean checkIfInitiatorForRPBeforeMigration(Initiator initiator){
  if (initiator == null) {
    return false;
  }
  boolean isRP=true;
  if (NullColumnValueGetter.isNullValue(initiator.getHostName()) || !NullColumnValueGetter.isNullURI(initiator.getHost())) {
    isRP=false;
  }
  log.debug("RP initiator? " + (isRP ? "Yes!" : "No!"));
  return isRP;
}

private boolean checkIfInitiatorForRPBeforeMigration ( Initiator initiator ) { if ( initiator == null ) { return false ; } boolean isRP = true ; if ( NullColumnValueGetter . isNullValue ( initiator . getHostName ( ) ) || ! NullColumnValueGetter . isNullURI ( initiator . getHost ( ) ) ) { isRP = false ; } log . debug ( "RP initiator? " + ( isRP ? "Yes!" : "No!" ) ) ; return isRP ; }
check if the passed in initiator is for rp
