[Pro Sites] Code Snippet to get Prosites Level

Hi, I need to make a custom change in fuctions.php file from my theme. But before this a need to validate Pro Sites Level for the current site.

Any ideas?