code: def get_spec_has_input_files(self, spec):
      if self.format_version == 1:
          return len(spec.get("input_files", [])) > 0
      return bool(spec[2])
  
file_path: hail/batch/batch/batch_format_version.py
imports: from typing import Optional, Tuple
  from hailtop.batch_client.aioclient import Job
label_desc: Use image node_id 9 for calling the BatchFormatVersion obj's underlying member method code with example usage: obj.get_spec_has_input_files(spec) and returns: bool, unknown