parameters: (fn)
docstring: If fn is a toolkit function either imported by turicreate.extensions.ext_import
      or the magic import system, we return the name of toolkit function.
      Otherwise we return an empty string.
docstring_summary: If fn is a toolkit function either imported by turicreate.extensions.ext_import
      or the magic import system, we return the name of toolkit function.
      Otherwise we return an empty string.
docstring_tokens: If fn is a toolkit function either imported by turicreate . extensions . ext_import or the magic import system we return the name of toolkit function . Otherwise we return an empty string .
function: def _get_toolkit_function_name_from_function(fn):
      """
      If fn is a toolkit function either imported by turicreate.extensions.ext_import
      or the magic import system, we return the name of toolkit function.
      Otherwise we return an empty string.
      """
      try:
          if "__glmeta__" in fn.__dict__:
              return fn.__dict__["__glmeta__"]["extension_name"]
          else:
              return ""
      except:
          return ""
function_tokens: def _get_toolkit_function_name_from_function ( fn ) : try : if "__glmeta__" in fn . __dict__ : return fn . __dict__ [ "__glmeta__" ] [ "extension_name" ] else : return "" except : return ""