code: def dynamize_expected_value(self, expected_value):
          
          d = None
          if expected_value:
              d = {}
              for attr_name in expected_value:
                  attr_value = expected_value[attr_name]
                  if attr_value is True:
                      attr_value = {'Exists': True}
                  elif attr_value is False:
                      attr_value = {'Exists': False}
                  else:
                      val = self.dynamize_value(expected_value[attr_name])
                      attr_value = {'Value': val}
                  d[attr_name] = attr_value
          return d
docs: Convert an expected_value parameter into the data structure
          required for Layer1.