Added the isFilled to check if all inputs in a block are filled (recursively).