def __contains__(self, field_name):
        return (field_name in self.required or
                field_name in self.optional)
Read until either self.base_prompt or pattern is detected. Return ALL data available.
dataset/ETHPy150Open CollabQ/CollabQ/openid/extensions/sreg.py/SRegRequest.__contains__--crossover with--dataset/ETHPy150Open ktbyers/netmiko/netmiko/base_connection.py/BaseSSHConnection.read_until_prompt_or_pattern