I use in_array() to check whether a value exists in an array like below,
in_array()
$a = array(\"Mac\", \"NT\", \"Irix\", \"Linux\"); if (in_array(\"Irix\"
Please try:
in_array("irix",array_keys($b)) in_array("Linux",array_keys($b["irix"])
Im not sure about the need, but this might work for your requirement