code: protected static boolean isAPIUri(Uri uri) {
          if (uri == null) {
              return false;
          }
  
          return getBaseUri().getHost().equals(uri.getHost());
      }
docs: Checks that the provided URI points to the WonderPush REST server