There is no need to change the core... this could probably be done using the Plugin System.
Using that conditional would mean the showthread template would be extremely long (twice the length of what it normally). It is probably more efficient to create a second separate template and overwrite the original one at runtime, as suggested by the OP.