code: public static boolean containsLogFromNumber(List<CallLogEntry> logs, String number) {
          for(CallLogEntry log : logs) {
              if(log.number.equals(number)) {
                  return true;
              }
          }
          return false;
  	}
docs: returns true if call log of specified number exists