original_docstring: Check whether image is present on local system
docstring: Check whether image is present on local system
docstring_tokens: Check whether image is present on local system
code: def check_image(image):
      """Check whether image is present on local system"""
      ret = subprocess.run(['docker', 'images', '-q', image],
                           stdout=subprocess.PIPE)
      return bool(ret.stdout)
code_tokens: def check_image ( image ) : ret = subprocess . run ( [ 'docker' , 'images' , '-q' , image ] , stdout = subprocess . PIPE ) return bool ( ret . stdout )
short_docstring: Check whether image is present on local system
short_docstring_tokens: Check whether image is present on local system
comment: """Check whether image is present on local system"""