Spark Integration: Remove ambiguous return false statement