has

fun has(template: ITemplate): Boolean

Checks if template exists on screen, useful if you don't need the result of the find operation. Inverse of doesntHave

Return

true if given template exists on screen

Parameters

template

Template to use for matching