Checks whether element has a table with specified locator.
string $locator table id or caption:
bool
public function hasTable(string $locator) { return $this->has('named', array( 'table', $locator, )); }