Do graph neural network states contain graph properties?