code: def __contains__(self, G):
      r = False
      for c in self.components:
          r |= G in c
      return r
  
imports: from typing import List
  from .graphBase import GraphBase
  from graphistry.layout.utils import Poset
  import pandas
label_desc: Use image node_id 19 for calling the Graph obj's underlying member method code with example usage: obj.__contains__(G) and returns: r