def has_node(self, nodename):
        """
        Does a node by the name specified exist
        :param nodename: string, hostname
        :return: boolean
        """
        return self.get_node_dict() in nodename
dataset/ETHPy150Open ramonvanalteren/jenkinsapi/jenkinsapi/jenkins.py/Jenkins.has_node/swapped operands of `in`