def intersection(arrA, arrB):
    """ Checks for intersection between two 2D arrays"""
    #from: https://stackoverflow.com/questions/24477270/
    # python-intersection-of-2d-numpy-arrays

    return not set(map(tuple, arrA)).isdisjoint(map(tuple, arrB))