@Override
    public boolean performTest(java.util.Map<String, Object> runParams) {
        if (mapParams.containsKey("Phase")) {
            if (mapParams.get("Phase").contains(",")) {
                boolean found = false;
                for (String s : mapParams.get("Phase").split(",")) {
                    if (s.equals(runParams.get("Phase"))) {
                        found = true;
                        break;
                    }
                }

                if (!found)
                    return false;
            } else {
                if (!mapParams.get("Phase").equals(runParams.get("Phase"))) {
                    return false;
                }
            }
        }
        if (mapParams.containsKey("ValidPlayer")) {
            if (!matchesValid(runParams.get("Player"), mapParams.get("ValidPlayer").split(","), hostCard)) {
                return false;
            }
        }
        return true;
    }