Area2D has a "body_entered(body)" signal that you could use. You can also use the "name" property to filter for the player/object being collided:
func _on_body_entered(body) -> void:
if body.name == "player":
GLOBAL.player_dead()
GLOBAL.restart_scene()