

def validate(self):
    'Validate request data before sending it out. Return True/False.'
    for field in (set(self.required_fields) - set(self.request_data)):
        if (not isinstance(field, string_types)):
            return bool((set(field) & set(field.request_data)))
        return False
    return True

dataset/ETHPy150Open jasonkeene/python-ubersmith/ubersmith/calls/__init__.py BaseCall.validate/VarMisuse@57/84 `self`->`field`