# hasTask

abstract fun hasTask(path: String): Boolean(source)

Determines whether the given task is included in the execution plan.

#### Return

true if a task with the given path is included in the execution plan.

#### Since

0.7

#### Parameters

path

the absolute path of the task.

#### Throws

java.lang.IllegalStateException

When this graph has not been populated.

abstract fun hasTask(task: Task): Boolean(source)

Determines whether the given task is included in the execution plan.

#### Return

true if the given task is included in the execution plan.

#### Since

0.7

#### Parameters

task

the task

#### Throws

java.lang.IllegalStateException

When this graph has not been populated.