def assert_transfer_angle_not_zero(dtheta):
    """
    Checks if the transfer angle is the null value. If so, raises an exception.

    Parameters
    ----------
    dtheta: float
        Transfer angle value.

    """

    if dtheta == 0:
        raise ValueError("Transfer angle was found to be zero!")
    else:
        return True