Php Check If Array Contains Objective Definition Example