Uh, yeah, he was, because that's the only thing that the context allows:
Now Thomas, called the Twin, one of the twelve, was not with them when Jesus came.The other disciples therefore said to him, “We have seen the Lord.” So he said to them, “Unless I see in His hands the print of the nails...