This function only tests whether the numpy function, which is already imported here, is OK. If it is not, then the subsequent if-statement, which calls this function, will cause `broadcast_arrays` to be overwritten. So if one imports from this module, net either one gets a correct numpy function, or one patched to be OK.