Context: Added the iio_context_valid to check if the context is null. Useful for Matlab