code: def check_input_data(self, args):
      input_data = []
      if args.image:
          if not os.path.exists(args.image):
              raise RuntimeError("Path %s is not exist." % args.image)
      path = "{}".format(args.image)
      return path
  
file_path: PaddleHub/modules/image/semantic_segmentation/Extract_Line_Draft/module.py
imports: import argparse
  import ast
  import os
  import cv2
  from pathlib import Path
  from paddle.inference import Config, create_predictor
  from paddlehub.module.module import runnable, moduleinfo
  import numpy
  from .function import get_light_map_single, normalize_pic, resize_img_512_3d, show_active_img_and_save_denoise
label_desc: Use image node_id 7 for calling the ExtractLineDraft obj's underlying member method code with example usage: obj.check_input_data(args) and returns: path