private boolean isContainResponse ( IntuitMessage intuitMessage , int idx ) { List < AttachableResponse > response = ( ( IntuitResponse ) intuitMessage . getResponseElements ( ) . getResponse ( ) ) . getAttachableResponse ( ) ; if ( null == response ) { return false ; } if ( 0 >= response . size ( ) ) { return false ; } if ( idx >= response . size ( ) ) { return false ; } return true ; }
verifies availability of an object in response