Python Check If Variable Is Numpy Float64