Basic functions for checking group name