def is_remote(path_to_repo: str) -> bool:
    """ Check if the path links to a remote or local repository.

    Parameters
    ----------
    path_to_repo : str
        The path to the repository.

    Return
    ------
    bool
        True if a remote path; False otherwise.

    """
    return path_to_repo.startswith("git@") or path_to_repo.startswith("https://")