import logging


def float_user_needs_update(float_data, latest_data):
  """
  Return False if all values in latest_data matches
  all values in float_data. Return Trues otherwise
  indicating that the data in Float needs to be updated
  """
  # Loop through latest data
  for key, value in latest_data.items():
    # Look for mismatches
    if value != float_data[key]:
      logging.info(f"Value LDAP:{value} != Float:{float_data[key]} for key {key}.")
      # Found a mismatch. Needs to update
      return True

  # No need to update since all values matched
  return False