Search in multiple array

I am beginner in php.
I have this array: https://ibb.co/qyMrMYp
And this php code:

$trybStatusCzynnosciArray = process::getTrybStatusCzynnosciArray();

$result = findPair(1, 2, 3, $trybStatusCzynnosciArray )

function findPair($trybbm, $statpm, $czynpm, $array)
{


return true / false;

}

In function findPair() i need return true or faile.
When pairs of number exist in array $trybStatusCzynnosciArray – i need true. In not – i need false.

How can i make this function?

Plaese help me 🙂

$trybStatusCzynnosciArray = process::getTrybStatusCzynnosciArray();

$result = findPair(1, 2, 3, $trybStatusCzynnosciArray )

function findPair($trybbm, $statpm, $czynpm, $array)
{


return true / false;

}