code: def IsFleetspeakEnabledClient(grr_id, token=None):
    
    if grr_id is None:
      return False
  
    if data_store.RelationalDBEnabled():
      md = data_store.REL_DB.ReadClientMetadata(grr_id)
      if not md:
        return False
      return md.fleetspeak_enabled
  
    else:
      with aff4.FACTORY.Create(
          rdf_client.ClientURN(grr_id),
          aff4.AFF4Object.classes["VFSGRRClient"],
          mode="r",
          token=token) as client:
        return bool(client.Get(client.Schema.FLEETSPEAK_ENABLED))
docs: Returns whether the provided GRR id is a Fleetspeak client.