code: public static boolean isOsgiBundleUrl(String str) {
          if (str == null) {
              throw new NullPointerException("Specified string can not be null!");
          }
          return str.startsWith("bundle") && str.contains("://");
      }
docs: Determines if the provided string is OSGi bundle URL or not.
  
  @param str string to check
  @return true if the string is OSGi bundle URL, otherwise false