smbprofile: add smbprofile_active() helper