MCPcopy
hub / github.com/agent0ai/agent-zero / _has_reference

Method _has_reference

plugins/_browser/helpers/runtime.py:637–638  ·  view source on GitHub ↗
(reference_id: int | str | None)

Source from the content-addressed store, hash-verified

635
636 @staticmethod
637 def _has_reference(reference_id: int | str | None) -> bool:
638 return reference_id is not None and str(reference_id).strip() != ""
639
640 def _screenshot_output_path(self, browser_id: int, path: str = "") -> tuple[Path, str, str]:
641 raw_path = str(path or "").strip()

Callers 5

_input_pointMethod · 0.95
hoverMethod · 0.95
double_clickMethod · 0.95
right_clickMethod · 0.95
dragMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected