if( $response[CODE] == 20 and $response[SUBCODE] == 55 ) { # Do something appropriate }