def is_mig_instance(mig_name: str, instance_name: str):
  """Verify that an instance is part of a mig using naming conventions."""
  if mig_name.endswith('-grp'):
    mig_prefix = mig_name[:-4]
    if instance_name.startswith(mig_prefix):
      return True
  return False