public static boolean containsLogFromNumber(List<CallLogEntry> logs, String number) {
        for(CallLogEntry log : logs) {
            if(log.number.equals(number)) {
                return true;
            }
        }
        return false;
	}
returns true if call log of specified number exists
selendroid-server-common/src/main/java/io/selendroid/server/common/utils/CallLogUtil.java