Return True if object is defined
166027
def is_defined(self, objtxt, force_import=False):
        """"""
        return self.interpreter.is_defined(objtxt, force_import)
112714
function isFormData(obj) {
    return Object.keys(obj).some((key) => {
        if (obj[key] instanceof stream.Stream) return true;
        if (Buffer.isBuffer(obj[key])) return true;
        return false;
    });
}
521393
function __isPrimitive(obj) {
  if (obj == null) return false;
  // true for numbers, strings, booleans and null, false for objects
  if (obj != Object(obj)) return true;
  return __isDate(obj);
}
1181823
def is_number(obj):
    """"""
    return isinstance(obj, (int, float, np.int_, np.float_))
1117812
def is_collection(obj):
    """"""

    col = getattr(obj, '__getitem__', False)
    val = False if (not col) else True

    if isinstance(obj, basestring):
        val = False

    return val
287422
def is_defined(self, symbolTable=None):
        
        if symbolTable is None:
            symbolTable = self.table

        return symbolTable.defined(self.id_)
593813
function isTypedArray (obj) {
  if (typeof obj === 'object') {
    for (var i = 0; i < supportedDataTypes.length; i++) {
      if (obj instanceof supportedDataTypes[i]) {
        return true;
      }
    }
  }
}
598687
function isRelayVariables(variables: mixed): boolean {
  return (
    typeof variables === 'object' &&
    variables !== null &&
    !Array.isArray(variables)
  );
}
581803
function objectIsEmpty(obj) {
	if (obj === null || obj === undefined) return true;
	if (obj.isEmpty) return obj.isEmpty();
	for (let k in obj) {
		if (hasOwnProperty(obj, k)) return false;
	}
	return true;
}
1175933
def is_defined? (top_mod, sub_mod = nil)
      return_value = Object.const_defined? top_mod
      unless !return_value || sub_mod.nil?
        return_value = Object.const_get(top_mod).const_defined? sub_mod
      end

      return_value
    end
591580
function is(obj, name) {
  if (typeof name !== 'string') {
    throw new TypeError('expected name to be a string');
  }
  utils.define(obj, 'is' + utils.pascal(name), true);
  utils.define(obj, '_name', name);
}
843274
private boolean contains(ArrayList defs, DefBase obj)
    {
        for (Iterator it = defs.iterator(); it.hasNext();)
        {
            if (obj.getName().equals(((DefBase)it.next()).getName()))
            {
                return true;
            }
        }
        return false;
    }
998485
function isPlainObject(obj/*: any*/) /*: boolean*/ {
    if (typeof obj !== 'object') return false;
    const proto = Object.getPrototypeOf(obj);
    return (proto === null) || (
        proto
        && proto.constructor === Object
        && proto.constructor instanceof proto.constructor
    );
}
344391
function has(o, property) {
    if (arguments.length !== 2) {
      throw new Error('Expected two arguments to check.has, got only ' + arguments.length);
    }
    return Boolean(o && property &&
      typeof property === 'string' &&
      typeof o[property] !== 'undefined');
  }
133494
function (obj) {
			this.writeDebug('isEmptyObject',arguments);
			for (var key in obj) {
				if (obj.hasOwnProperty(key)) {
					return false;
				}
			}
			return true;
		}
58992
function isEmptyObject(item) {
  if (item === undefined || item === null) {
    return false;
  }

  return (Object.keys(item).length === 0 && JSON.stringify(item) === JSON.stringify({}));
}
896397
def is_variable(tup):
    
    name, item = tup
    if callable(item):
        # function or class
        return False

    if isinstance(item, types.ModuleType):
        # imported module
        return False

    if name.startswith("_"):
        # private property
        return False

    return True