code: def bods2c(name):
      
      name = stypes.stringToCharP(name)
      code = ctypes.c_int(0)
      found = ctypes.c_int(0)
      libspice.bods2c_c(name, ctypes.byref(code), ctypes.byref(found))
      return code.value, bool(found.value)
docs: Translate a string containing a body name or ID code to an integer code.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/bods2c_c.html
  
      :param name: String to be translated to an ID code.
      :type name: str
      :return: Integer ID code corresponding to name.
      :rtype: int