class_docstr: Base class used as parent for the concrete LI reader classes.
class_docstr_tok: ["Base","class","used","as","parent","for","the","concrete","LI","reader","classes","."]
docstr: Check if a given variable path is available in the underlying netCDF file.
  
  All we really need to do here is to access the file_content dictionary and
  check if we have a variable under that var_path key.
docstr_tok: ["Check","if","a","given","variable","path","is","available","in","the","underlying","netCDF","file",".","All","we","really","need","to","do","here","is","to","access","the","file_content","dictionary","and","check","if","we","have","a","variable","under","that","var_path","key","."]
code: def variable_path_exists(self, var_path):
      """Check if a given variable path is available in the underlying netCDF file.
  
      All we really need to do here is to access the file_content dictionary and
      check if we have a variable under that var_path key.
      """
      # but we ignore attributes: or sub properties:
      if var_path.startswith("/attr") or var_path.endswith(
          ("/dtype", "/shape", "/dimensions")
      ):
          return False
  
      # Check if the path is found:
      if var_path in self.file_content:
          # This is only a valid variable if it is not a netcdf group:
          return not isinstance(
              self.file_content[var_path], netCDF4.Group
          )
  
      # Var path not in file_content:
      return False
  
imports: import logging
  import re
  import dask.array
  import netCDF4
  import numpy
  import xarray
  from pyproj import Proj
  from satpy.readers.netcdf_utils import NetCDF4FileHandler
label_desc: Use image node_id 12 for calling the LINCFileHandler obj's underlying member method code with example usage: obj.variable_path_exists(var_path) and returns: False, False, unknown