def is_group_valid(self, group_id):
        """
        Check if this group ID is valid.
        """
        q = select(self.GroupsTable).filter(self.GroupsTable.c.id == group_id)
        results = self.conn.execute(q).first()

        valid = True if results else False
        cme_logger.debug(f"is_group_valid(groupID={group_id}) => {valid}")

        return valid

        Check if this group ID is valid.
        
cme/protocols/smb/database.py