Check if a PDB code has structure files on the PDBE site.

    Parameters
    ----------
    code : str
        PDB code to check for on PDBE.

    Returns
    -------
    status_code : int
        HTTP status code of PDBE url associated with input code.

def pdbe_status_code(code):
    """Check if a PDB code has structure files on the PDBE site.

    Parameters
    ----------
    code : str
        PDB code to check for on PDBE.

    Returns
    -------
    status_code : int
        HTTP status code of PDBE url associated with input code.
    """
    url = 'http://www.ebi.ac.uk/pdbe/entry-files/download/{0}_1.mmol'.format(code)
    r = requests.head(url=url)
    return r.status_code