Given the following functions: 
#this function returns true if the person is detected in the provided time 
function search_id (string Name, Date) 
#this function is used to turn on or off lights given a certain place as a parameter
function action_lights (bool turn, string place)
I need you create a pseudocode using the given functions from this sentence: "Turn on the lights of the garage when NAME_1 leaves home". 
