Check for valid generators