def check_retry(status):
    """
    Checks is the job needs to be retried. Jobs are retried if max_retries is not reached and the tower status is
    temporarily unreachable.

    Args:
        status (:obj:`str`): the tower status.

    Returns:
            :obj:`bool`: True is the status is "temporarily unreachable", False otherwise.
    """
    return status == "temporarily unreachable"