Fix PlayerStringFlags#isStringFlag method

It now uses the enum type directly and is located inside the enum (allowing to write ``PlayerStringFlags.isStringFlag(flag);``)