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

def __get_known_node_by_host(self, hostname):
        '''
        Determine if the node is already known by hostname.
        If it is, return it.
        '''
        for n in self.nodes:
            if (n.name == hostname):
                return n
        return None