Make is_licensed global