code: private boolean needsUpdate(Long bundleVersion, String beanVersion) {
          if (beanVersion.contains("OAD")) {
              Log.i(TAG, "Bundle version: " + bundleVersion);
              Log.i(TAG, "Bean version: " + beanVersion);
              return true;
          } else {
              try {
                  long parsedVersion = Long.parseLong(beanVersion.split(" ")[0]);
                  Log.i(TAG, "Bundle version: " + bundleVersion);
                  Log.i(TAG, "Bean version: " + parsedVersion);
                  if (bundleVersion > parsedVersion) {
                      return true;
                  } else {
                      Log.i(TAG, "No update required!");
                  }
              } catch (NumberFormatException e) {
                  Log.e(TAG, "Couldn't parse Bean Version: " + beanVersion);
                  fail(BeanError.UNPARSABLE_FW_VERSION);
              }
          }
          return false;
      }
docs: Helper function to determine whether a Bean needs a FW update given a specific Bundle version
  
  @param bundleVersion the version string from the provided firmware bundle
  @param beanVersion the version string provided from the Bean Device Information Service
  @return boolean value stating whether the Bean needs an update