def isSolrInputDocument(Path):
    """
    Determines if the file at the specified path is a Solr Input
    Document.
    """
    if Path.endswith("xml"):
        with open(Path, 'r') as f:
            data = f.read()
        if "<doc>" in data and "</doc>" in data:
            return True
    return False