Depends

You've set Mode to "1", which means that the results will only be true (1) if the login is a member of all three groups.

If you only want to check if the login is a member of at least one of the groups then Mode should be zero.

Other than that, it's fine.