I have a file with land use and building footprints. I have gotten to the point in python of selecting all the land use shps from the object attributes. In this picture:

I have written code that has selected everything tagged as residential in the object attributes.
def selectByAttribute(attr, value):
shapes = getObjectsFrom(ce.scene)
selection = []
for s in shapes:
attrvalue = ce.getAttribute(s, attr)
if attrvalue == value:
selection.append(s)
ce.setSelection(selection)
if __name__ == '__main__':
selectByAttribute("landuse","residential")
pass
My question then becomes, how do I select the footprints within those already selected polygons, and nothing else? This is where I have gotten stuck.
Please help? And help me like I have no coding knowledge what so ever. I have an art degree, and the above took me almost 2 days to figure out.
Thanks in advance!!!!
Monica
Edit: Essentially, I would like to "Select by Location" like I would in ArcPRO. Which, would be a nice feature to have in general.