The branding settings file is only available in the Agency version. You could check for that like this…
if ( file_exists( FL_BUILDER_DIR . 'includes/admin-settings-branding.php' ) ) {
// White labeling exists.
}
We typically check for the existence of features instead of a particular version in case they get added to another version in the future or are already a part of more than one version.
FLBuilderModel::get_branding() returns the custom branded BB name. So you can grab that and do what you need with the value that is returned, including echoing it.