def check_for_pdb(file_name):
    """Check if a file appears to be a PDB file.

    The PDB files have a number of required keywords; however, some, like "AUTHOR"
    are common words, so this routine checks for the simultaneous presence of a
    number of the strangely spelled keywords.

    Parameters
    ----------
    file_name : str
        The path to the file.

    Returns
    -------
    bool
        True if the file appears to be a PDB file.
    """
    keywords = (
        "COMPND",
        "KEYWDS",
        "EXPDTA",
        "REVDAT",
        "REMARK 2",
        "REMARK 3",
        "SEQRES",
        "CRYST1",
    )

    with open(file_name, "r") as f:
        data = f.read()

    if all(keyword in data for keyword in keywords):
        return True
    else:
        return False