No, its for two things. Check if the player that executed a command block is a player and which one and detect if a current character command prompt is being executed while is one player or another.
Useful if you make a multiplayer game, you can have only one character for two players, if they need different functions for each one, detect if its player 1 or 2