<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def grow_use_function(self, depth=0):
        "Select either function or terminal in grow method"
        if depth == 0:
            return False
        if depth == self._depth:
            return True
        return np.random.random() < 0.5