Is this a gas shutoff valve
No, that's not a valve. It looks like a drain, as might be useful if the fitting had been installed in a fire sprinkler or steam line, or functionally just an odd-ball tee fitting.