I am trying to create layers from feature classes in a geodatabase and ultimately applying standard symbology at the end. To do this I started a model with an iterator running through each feature class, and with a script, checking the name of each feature class and seeing if it matches one of the feature class names on the right side of the model. I am stuck at incorporating the script into the model. Any help would be appreciated. My started script and model are below.
def namechk(int):
if str Name == "Survey_Calculated_Boundary_Monument":
return 1
else:
return 0