template<typename T>
iDynTree::SpanUtils::has_data_method<T, void_t<decltype(std::declval<T>().data())>> struct