Check if key exists in kwargs.