You can either manually add the group to the groups
table of your db - I guess this is easiest for you as you probably only need to do it once - or you could use the method create_group()
built into the library:
$this->ion_auth->create_group('moderator', 'This is the moderators group');
Then you will be able to check your users as you suggest.