code: def _severity_by_name(name):
      
      for intvalue, sevname in SEVERITY.items():
          if name.lower() == sevname:
              return intvalue
      return 1
docs: Return the severity integer value by it's name. If not found,
      return 'information'.
      
      :rtype: int