code: def tensor_has_complete_shape(tensor_type):
      if not is_tensor(tensor_type):
          return True
      s = tensor_type.get_shape()
      if -1 in s:
          return False
      elif len(s) == 0:
          return False
      else:
          return True
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/converters/mil/mil/types/type_tensor.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import numpy
  import sympy
  import logging
  from .type_spec import Type
  from .get_type_info import get_type_info
  from .type_mapping import promote_types, is_tensor, nptype_from_builtin, builtin_to_string, numpy_type_to_builtin_type
label_desc: Use image node_id 6 for calling a global function with example usage: tensor_has_complete_shape(tensor_type) and returns: True, False, False, True