<- PRPL reference <- SECTION
Checks whether struc at coordinates x,y is built. If enemy is true, checks for red struc; otherwise checks for blue struc. Returns 1 if struc is built or 0 if not.