Moving gogo util method from fuchsia gogo into a utilitary class