call to test if user is translator with translation editor plugin

im using translation editor which allows you to set users as translators (i assume by adding metadata).
what is the call for me to access this metadata to do something if user is translator?

// if member is admin or translator, show language settings icon.

if(elgg_is_logged_in() && get_loggedin_user()->isAdmin() || get_loggedin_user()->translator == TRUE)
{
    
        echo 'hello translator';
        elgg_register_event_handler('pagesetup', 'system', 'custom_language');

}
Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking