# --- for posterity, c0 is a polygon circle with a piece cut off
#
import json
c0
<Polygon object at 0x15b885eb860[0x15b87f800a8]>
j = json.loads(c0.JSON)
has_curves = np.any(['curve' in i for i in list(j.keys())])
has_curves
TrueNow if you want to count the number of curves, you have to dig into the dictionary a bit more...
Just add this or equivalent to arcpy.da.Describe !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.