@Override
    public boolean performTest(java.util.Map<String, Object> runParams) {
        if (mapParams.containsKey("ValidCard")) {
            if (!matchesValid(runParams.get("Card"), mapParams.get("ValidCard").split(","), hostCard)) {
                return false;
            }
        }

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

        if (mapParams.containsKey("ValidCause")) {
            if (runParams.get("Cause") == null) {
                return false;
            }
            if (!matchesValid(runParams.get("Cause"), mapParams.get("ValidCause").split(","), hostCard)) {
                return false;
            }
        }
        return true;
    }