I'm attempting to follow the published guide for ArcGIS API for Python from ESRI. On the part regarding creating replicas ("Checking Out Data From Feature Layers Using Replicas" section), I'm receiving an error.
Under the "Create A Replica" section, there is a line that attempts to create a replica.

I've got everything else above this executed in Jupyter. When I run it, I get an error stating: 'FeatureLayerCollection' object has no attribute 'replicas'
I've double checked the code above this. Yes, the line of code above this has an error ('sr' should be 'search_result'). Outside of this, am I missing something? There is a good chance there is some fundamental flaw in the examples on this page. I've found multiple code errors in the guide that I've reported to ESRI. It feels that the guide itself is working AGAINST me trying to complete it.
Any help would be appreciated.