Sounds like you want a method to check if an user is activated or disabled having as argument the rid. It would help to code readability.