code: public static MultiStatus lookup(List<MultiStatus> lst, Name name, int status) {
      	for (MultiStatus ms : lst) {
      		if (status == ms.status && name.equals(ms.property.getName())) {
      			return ms;
      		}
      	}
      	return null;
      }
docs: --