code: def _check_build_input(self, image, args_path):
          
          try:
              with open(os.path.join(args_path, BUILD_JSON)) as json_args:
                  logger.debug("build input: image = '%s', args = '%s'", image, json_args.read())
          except (IOError, OSError) as ex:
              logger.error("unable to open json arguments: %r", ex)
              raise RuntimeError("Unable to open json arguments: %r" % ex)
  
          if not self.tasker.image_exists(image):
              logger.error("provided build image doesn't exist: '%s'", image)
              raise RuntimeError("Provided build image doesn't exist: '%s'" % image)
docs: Internal method, validate provided args.
  
          :param image: str
          :param args_path: str, path dir which is mounter inside container
          :return: None
          :raises RuntimeError