I would do `not isinstance(kwargs['ex_blockdevicemappings'], (list, tuple))`