code: def look_up(self, **keys: Dict[InstanceName, ScalarValue]) -> "ArrayEntry":
          
          if not isinstance(self.schema_node, ListNode):
              raise InstanceValueError(self.json_pointer(), "lookup on non-list")
          try:
              for i in range(len(self.value)):
                  en = self.value[i]
                  flag = True
                  for k in keys:
                      if en[k] != keys[k]:
                          flag = False
                          break
                  if flag:
                      return self._entry(i)
              raise NonexistentInstance(self.json_pointer(), "entry lookup failed")
          except KeyError:
              raise NonexistentInstance(self.json_pointer(), "entry lookup failed") from None
          except TypeError:
              raise InstanceValueError(self.json_pointer(), "lookup on non-list") from None
docs: Return the entry with matching keys.
  
          Args:
              keys: Keys and values specified as keyword arguments.
  
          Raises:
              InstanceValueError: If the receiver's value is not a YANG list.
              NonexistentInstance: If no entry with matching keys exists.