method to check if an account is a member of any of an apps groups