KEYS: Make the key matching functions return bool