this looks like an internal utility method.

I don't think this should be a public static method in public API.