$result_ID = '131';
$array = array(
'131' => 'PREPAYMENT_INVOICE'
'137'=> 'PREPAYMENT_INVOICE'
'139' => 'PREPAYMENT_INVOICE'
'141' => 'PREPARATION'
'143'=> 'PREPARATION'
);
if (in_array(result_ID, $array) == array_key_exists("PREPAYMENT_INVOICE", $array)) {
echo "ВСЕ НАЙДЕНО УРА!!!";
}else{
echo "НЕ НАЙДЕНО!!!!";
}