code: def chk_enum_arg(s):
      
  
      if len(s) == 0 or s[0].isspace() or s[-1].isspace():
          return False
      else:
          return True
docs: Checks if the string `s` is a valid enum string.
  
      Return True or False.