code: def get_OID_field(fs):
      
      if arcpyFound == False:
          raise Exception("ArcPy is required to use this function")
      desc = arcpy.Describe(fs)
      if desc.hasOID:
          return desc.OIDFieldName
      return None
docs: returns a featureset's object id field