class_docstr: PaddleHub server source
  
  Args:
      url(str) : Url of the server
      timeout(int) : Request timeout
class_docstr_tok: ["PaddleHub","server","source","Args",":","url","(","str",")",":","Url","of","the","server","timeout","(","int",")",":","Request","timeout"]
docstr: Check if the specified url is a valid paddlehub server
  
  Args:
      url(str) : Url to check
docstr_tok: ["Check","if","the","specified","url","is","a","valid","paddlehub","server","Args",":","url","(","str",")",":","Url","to","check"]
code: def check(cls, url: str) -> bool:
      """
      Check if the specified url is a valid paddlehub server
  
      Args:
          url(str) : Url to check
      """
      try:
          r = requests.get(url + "/search")
          return r.status_code == 200
      except:
          return False
  
file_path: PaddleHub/paddlehub/server/server_source.py
imports: import json
  from typing import List
  import requests
  import paddlehub
  from paddlehub.utils import platform
  from paddlehub.utils.utils import convert_version
  from paddlehub.utils.utils import Version
label_desc: Use image node_id 7 for calling the ServerSource obj's underlying member method code with example usage: obj.check(cls, url) and returns: unknown, False