If `cachePath` would be a string I could do this

```
if(value.Equals(this.cachePath, StringComparison.Ordinal))

```

Now `cachePath` is of type [`ImageSource`](https://developer.xamarin.com/api/type/Xamarin.Forms.ImageSource/). How can I compare if `value` is the same as `cachePath`? Currently I'm doing this

```
if(this.cachePath == value)

```

Is this the only way? Or how can `Equals()` be used for this?