This is the process problem in my mind. Why are they working on something that goes weeks without checking in code? They should have smaller actionable chunks that can be checked in at least once a week.
More importantly, take that same employee and put them in an office and do you really think things are going to be different? Alt tab is a thing, looking busy is a thing, and if you're entirely relying on their word that things are going well then you're going to get yourself in trouble regardless of whether you're in an office or remote.