How to retrieve "Site Sizes" from my custom node source code

@dceejay, is this going to work inside a function node? It could answer the question I raised in Custom icon color in dashboard switch widget.