parameters: (obj)
return_statement: return isinstance(obj, Undefined)
docstring: Check if the object passed is undefined.  This does nothing more than
      performing an instance check against :class:`Undefined` but looks nicer.
      This can be used for custom filters or tests that want to react to
      undefined variables.  For example a custom default filter can look like
      this::
  
          def default(var, default=''):
              if is_undefined(var):
                  return default
              return var
docstring_summary: Check if the object passed is undefined.  This does nothing more than
      performing an instance check against :class:`Undefined` but looks nicer.
      This can be used for custom filters or tests that want to react to
      undefined variables.  For example a custom default filter can look like
      this::
docstring_tokens: Check if the object passed is undefined . This does nothing more than performing an instance check against : class : Undefined but looks nicer . This can be used for custom filters or tests that want to react to undefined variables . For example a custom default filter can look like this ::
function: def is_undefined(obj):
      """Check if the object passed is undefined.  This does nothing more than
      performing an instance check against :class:`Undefined` but looks nicer.
      This can be used for custom filters or tests that want to react to
      undefined variables.  For example a custom default filter can look like
      this::
  
          def default(var, default=''):
              if is_undefined(var):
                  return default
              return var
      """
      from jinja2.runtime import Undefined
      return isinstance(obj, Undefined)
function_tokens: def is_undefined ( obj ) : from jinja2 . runtime import Undefined return isinstance ( obj , Undefined )