Check if a value is already a URL (not a shorthand name).
(self, value: str)
| 1422 | self._parsed_config = None |
| 1423 | |
| 1424 | def _is_url(self, value: str) -> bool: |
| 1425 | """Check if a value is already a URL (not a shorthand name).""" |
| 1426 | if not value: |
| 1427 | return False |
| 1428 | return any( |
| 1429 | value.startswith(scheme) for scheme in ("http://", "https://", "file://") |
| 1430 | ) |
| 1431 | |
| 1432 | def _is_builtin_framework(self, framework_name: str) -> bool: |
| 1433 | """Check if a framework is a built-in PlatformIO framework that should not be resolved to URLs.""" |