def METHOD_NAME(conformation_based, from_atoms):
    """
    The input structure should have a similarity of 1.0 to itself.
    Since different isotopes have the same *Tanimoto*, results also
    include other compounds.
    """
    CID = 2244
    if from_atoms:
        original_atoms = mol.MOLFile.read(pubchem.fetch(CID)).get_structure()
        query = pubchem.SimilarityQuery.from_atoms(
            original_atoms, threshold=1.0,
            conformation_based=conformation_based
        )
    else:
        query = pubchem.SimilarityQuery(
            cid=CID, threshold=1.0, conformation_based=conformation_based
        )
    cids = pubchem.search(query)
    assert CID in cids