code: def has_data(self, datatype, mode, disp):
          
  
          # Imports
          from ..error import RepoError
  
          # Just try to get the data. Simply pass up all exceptions except for
          #  those if the group or data doesn't exist. DO re-raise a non-bound
          #  repo. Initialize value to DATA PRESENT (True) for case where data
          #  is present and the 'try' succeeds.
          retval = True
          try:
              self.get_data(datatype, mode, disp)
          except RepoError as RErr:
              if RErr.tc in (RErr.DATA, RErr.GROUP):
                  retval = False
              ## end if
          ## end try
  
          # Should be good to return
          return retval
docs: .. todo:: has_data docstring