Hello,
Is it possible using the ArcGIS API for python to determine the Enable sync status of a hosted feature layer on ArcGIS online?
i.e. this setting:

I don't need to change it at this stage, just determine if it is checked or not.
In context, I intend to loop though all the layers of a web map looking for any layer that does not have sync enabled, using something like this:
<SPAN class="keyword token">from</SPAN> arcgis<SPAN class="punctuation token">.</SPAN>gis <SPAN class="keyword token">import</SPAN> GIS
<SPAN class="keyword token">from</SPAN> arcgis<SPAN class="punctuation token">.</SPAN>mapping <SPAN class="keyword token">import</SPAN> WebMap
gis <SPAN class="operator token">=</SPAN> GIS<SPAN class="punctuation token">(</SPAN>url<SPAN class="punctuation token">,</SPAN> username<SPAN class="punctuation token">,</SPAN> password<SPAN class="punctuation token">)</SPAN>
map_id <SPAN class="operator token">=</SPAN> <SPAN class="comment token"># the_unique_item_identifier would be here #</SPAN>
search_result<SPAN class="operator token">=</SPAN>gis<SPAN class="punctuation token">.</SPAN>content<SPAN class="punctuation token">.</SPAN>search<SPAN class="punctuation token">(</SPAN>map_id<SPAN class="punctuation token">,</SPAN>max_items<SPAN class="operator token">=</SPAN><SPAN class="number token">1000</SPAN><SPAN class="punctuation token">)</SPAN>
item <SPAN class="operator token">=</SPAN> search_result<SPAN class="punctuation token">[</SPAN><SPAN class="number token">0</SPAN><SPAN class="punctuation token">]</SPAN>
<SPAN class="keyword token">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"map title = "</SPAN><SPAN class="punctuation token">,</SPAN> item<SPAN class="punctuation token">.</SPAN>title<SPAN class="punctuation token">)</SPAN>
theWebMap <SPAN class="operator token">=</SPAN> WebMap<SPAN class="punctuation token">(</SPAN>webmapitem<SPAN class="operator token">=</SPAN>item<SPAN class="punctuation token">)</SPAN>
layerCount <SPAN class="operator token">=</SPAN> len<SPAN class="punctuation token">(</SPAN>theWebMap<SPAN class="punctuation token">.</SPAN>layers<SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"layer count = "</SPAN> <SPAN class="operator token">+</SPAN> str<SPAN class="punctuation token">(</SPAN>layerCount<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">for</SPAN> layer <SPAN class="keyword token">in</SPAN> theWebMap<SPAN class="punctuation token">.</SPAN>layers<SPAN class="punctuation token">:</SPAN>
<SPAN class="keyword token">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"type = "</SPAN><SPAN class="punctuation token">,</SPAN> layer<SPAN class="punctuation token">.</SPAN>layerType<SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"title = "</SPAN><SPAN class="punctuation token">,</SPAN> layer<SPAN class="punctuation token">.</SPAN>title<SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"id = "</SPAN><SPAN class="punctuation token">,</SPAN> layer<SPAN class="punctuation token">.</SPAN>id<SPAN class="punctuation token">)</SPAN>
<SPAN class="comment token"># mystery bit - property? custom function?</SPAN>
<SPAN class="keyword token">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"syncStatus = "</SPAN><SPAN class="punctuation token">,</SPAN> layer<SPAN class="punctuation token">.</SPAN>?????<SPAN class="punctuation token">)</SPAN>
<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Thanks