Php Check If Key Exists In Array Of Pointers