code: def is_url(path):
      """
      Whether path is URL.
      Args:
          path (string): URL string or not.
      """
      return (
          path.startswith("http://")
          or path.startswith("https://")
          or path.startswith("ppdet://")
      )
  
file_path: PaddleDetection/ppdet/utils/checkpoint.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import numpy
  import paddle
  import paddle.nn
  from .download import get_weights_path
  from .logger import setup_logger
label_desc: Use image node_id 1 for calling a global function with example usage: is_url(path) and returns: unknown