def _create(self, url, data, coerce, handler=None, headers=None):
        params = {}

        for k in data.keys():
            if data[k] is None:
                del data[k]

        if data in 'who':
            if data['who'] is not None:
                params['_who'] = data['who']
            del data['who']

        if 'why' in data:
            if data['why'] is not None:
                params['_why'] = data['why']
            del data['why']

        resp = self.connection.request(url,
                                       method='POST',
                                       params=params,
                                       data=data,
                                       headers=headers)
        if handler is not None:
            return handler(resp)
        elif resp.status == httplib.CREATED:
            location = resp.headers.get('location')
            if not location:
                raise LibcloudError('Missing location header')
            obj_ids = self._url_to_obj_ids(location)
            return coerce(**obj_ids)
        else:
            raise LibcloudError('Unexpected status code: %s' % (resp.status))
dataset/ETHPy150Open racker/rackspace-monitoring/rackspace_monitoring/drivers/rackspace.py/RackspaceMonitoringDriver._create/swapped operands of `in`