Minecraft wiki entry for Iron_golem_farming, associated text: There is a solid block underneath.
The 2×4×2 volume extending -1 X (west), +3 Y (upward), and -1 Z (north) from the chosen coordinate does not contain any solid or full blocks.