code: def is_empty(result):
      """Check if a result is empty
  
      Example:
  
          >>> res = empty_result("foo bar", 1.0)
          >>> is_empty(res)
          True
      """
      return result[RES_INTENT][RES_INTENT_NAME] is None
  
file_path: snips-nlu/snips_nlu/result.py
imports: from __future__ import unicode_literals
  from snips_nlu.constants import RES_ENTITY, RES_INPUT, RES_INTENT, RES_INTENT_NAME, RES_MATCH_RANGE, RES_PROBA, RES_RAW_VALUE, RES_SLOTS, RES_SLOT_NAME, RES_VALUE, ENTITY_KIND, RESOLVED_VALUE, VALUE
label_desc: Use image node_id 8 for calling a global function with example usage: is_empty(result) and returns: unknown