code: def has_np_pythran(env):
      if env is None:
          return False
      directives = getattr(env, "directives", None)
      return directives and directives.get("np_pythran", False)
  
imports: from __future__ import absolute_import
  from .PyrexTypes import CType, CTypedefType, CStructOrUnionType
  import cython
label_desc: Use image node_id 1 for calling a global function with example usage: has_np_pythran(env) and returns: unknown, False