Simbology : The following script iterates through each feature layer and tests if its symbology supports the renderer property using the hasattr function.