def is_on_intersection(intersection, coord):
    """
    Determines if coordinates is within intersection
    :param intersection: intersection object
    :param coord: coordinates to test

    :type intersection: Intersection
    :type coord: Coordinates

    :return: True if the coord is within the intersection. False if otherwise.
    """
    return intersection.is_on_intersection(coord)