hadoopcompatibility: Checks whether the task slots varuablel has been set.