def collect_bean(self, prefix, obj):
        for k, v in obj.iteritems():
            if [int, float, long] in type(v):
                self.parse_dimension_bean(prefix, k, v)
            elif isinstance(v, dict) and str_to_bool(self.config['nested']):
                self.collect_bean("%s.%s" % (prefix, k), v)
            elif isinstance(v, list) and str_to_bool(self.config['nested']):
                self.interpret_bean_with_list("%s.%s" % (prefix, k), v)
dataset/ETHPy150Open Yelp/fullerite/src/diamond/collectors/jolokia/cassandra_jolokia.py/CassandraJolokiaCollector.collect_bean/swapped operands of `in`