code: def is_dynamo_value(value):
      
      if not isinstance(value, dict) or len(value) != 1:
          return False
      subkey = six.next(six.iterkeys(value))
      return subkey in TYPES_REV
docs: Returns True if the value is a Dynamo-formatted value