function isSeriesChild(child) {
  const {prototype} = child.type;
  return prototype instanceof AbstractSeries;
}
Check if the component is series or not.
@param {React.Component} child Component.
@returns {boolean} True if the child is series, false otherwise.