code: def maybe(cls, parts, quotes=None, type=String, **kwargs):
          
          if len(parts) > 1:
              return cls(parts, quotes=quotes, type=type, **kwargs)
  
          if quotes is None and type is String:
              return Literal.from_bareword(parts[0])
  
          return Literal(type(parts[0], quotes=quotes, **kwargs))
docs: Returns an interpolation if there are multiple parts, otherwise a
          plain Literal.  This keeps the AST somewhat simpler, but also is the
          only way `Literal.from_bareword` gets called.