I've done this successfully on a dozen different scripts with other feature layers however this one is causing me issues. After logging into portal with the Python API, I get the item I am working with.
port_item = gis.content.get('#############')
That returns the appropriate item. Then I will grab the point layer.
item_layers = port_item.layers
That, however, returns 'None'.
I've compared with other feature layers that it has worked fine on and I can't find any differences that would cause it to fail. Everything is a hosted feature service, everything is either points or polygons, and just switching out the itemID will successfully return other layers so I know there's not a typo or portal issue.