def empty_onsite(onsite):
    """
    Check if *onsite* not empty.

    :raises RuntimeError: Run method set_onsite first.
    """
    if onsite.size == 0:
        raise RuntimeError('\n\nRun method set_onsite first\n')
