12 #include <hipipe/build_config.hpp>
13 #ifdef HIPIPE_BUILD_PYTHON
15 #include <boost/python.hpp>
17 namespace hipipe::python::utility {
26 namespace py = boost::python;
27 py::type_info info = py::type_id<T>();
28 const py::converter::registration* reg = py::converter::registry::query(info);
29 return reg !=
nullptr && reg->m_to_python !=
nullptr;
34 #endif // HIPIPE_BUILD_PYTHON