def isOverlap(interval1, interval2):
    """
    Is there any overlap of the two specified intervals?

    :param interval1:
    :param interval2:

    :return: True if the intervals overlap in any way.
    """
    if max(interval1.value) >= min(interval2.value) and max(interval1.value
        ) <= max(interval2.value):
        return True
    elif min(interval1.value) <= max(interval2.value) and min(interval1.value
        ) >= min(interval2.value):
        return True
    elif min(interval2.value) <= max(interval1.value) and min(interval2.value
        ) >= min(interval1.value):
        return True
    return False
