Returns whether the given path is on the local filesystem.
public static function isLocal(string $path) : bool { return '' !== $path && !str_contains($path, '://'); }