check separator condition