Add `isSimple` method