Php Check If Array Of Objects Containskey In Apex