docs: def _has_var_attr(cls, dataset, vname, attr, concept_name, priority=BaseCheck.HIGH):
          """
          Checks for the existance of an attr on variable vname in dataset, with the name/message using concept_name.
          """
          val = True
          msgs = []
          if vname not in dataset.variables:
              val = False
              msgs.append("Variable '{}' not present while checking for attr '{}' for IOOS concept: '{}'".format(vname, attr, concept_name))
          else:
              v = dataset.variables[vname]
              if attr not in v.ncattrs():
                  val = False
                  msgs.append("Attr '{}' not present on var '{}' while checking for IOOS concept: '{}'".format(attr, vname, concept_name))
  
          return Result(priority, val, concept_name, msgs)