def sites(sites):
    """
    Check if *get_lattice* has been called (*coor* not empty).
    :raises RuntimeError: Run method lat.get_lattice first.
    """
    if sites == 0:
        raise RuntimeError('\n\nRun method lat.get_lattice first.\n')
