'Gets the first non-None value for this option from the given args.
Args:
*arg: Any number of configuration objects or None values.
Returns:
The first value for this ConfigOption found in the given configuration
objects or None.
Raises:
datastore_errors.BadArgumentError if a given in object is not a
configuration object.'

def __call__(self, *args):

    name = self.validator.__name__
    for config in args:
        if isinstance(config, (type(None), apiproxy_stub_map.UserRPC)):
            pass
        elif (not isinstance(config, BaseConfiguration)):
            raise datastore_errors.BadArgumentError(('invalid    config    argument    (%r)' % (config,)))
        elif ((name in config._values) and (self is config._options[name])):
            return config._values[name]
    return None
