class_docstr: Class UnitDbl in development.
     
class_docstr_tok: ["Class","UnitDbl","in","development","."]
docstr: Check to see if some units are valid.
  
  = ERROR CONDITIONS
  - If the input units are not in the allowed list, an error is thrown.
  
  = INPUT VARIABLES
  - units    The string name of the units to check.
docstr_tok: ["Check","to","see","if","some","units","are","valid",".","=","ERROR","CONDITIONS","-","If","the","input","units","are","not","in","the","allowed","list",",","an","error","is","thrown",".","=","INPUT","VARIABLES","-","units","The","string","name","of","the","units","to","check","."]
code: def checkUnits(self, units):
      """Check to see if some units are valid.
  
      = ERROR CONDITIONS
      - If the input units are not in the allowed list, an error is thrown.
  
      = INPUT VARIABLES
      - units    The string name of the units to check.
      """
      if units not in self.allowed:
          msg = (
              "Input units '%s' are not one of the supported types of %s"
              % (units, str(list(six.iterkeys(self.allowed))))
          )
          raise ValueError(msg)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
label_desc: Use image node_id 16 for calling the UnitDbl obj's underlying member method code with example usage: obj.checkUnits(units) without return types