<gh_stars>0
class ObjectType:
  def __init__(self, name) -> None:
    self.name = name

  def can_connect_to(self, objectType):
    return self.name == objectType.name or objectType.name == 'Any'
class ObjectType:
  def __init__(self, name) -> None:
    self.name = name

  def can_connect_to(self, objectType):
    return self.name == objectType.name or objectType.name == 'Any'