Solve the programming task below in a Python markdown code block.
Create a function

```python
has_two_cube_sums(n)
```

which checks if a given number `n` can be written as the sum of two cubes in two different ways: `n = a³+b³ = c³+d³`.
All the numbers `a`, `b`, `c` and `d` should be different and greater than `0`.

E.g. 1729 = 9³+10³ = 1³+12³.

```python
has_two_cube_sums(1729); // true
has_two_cube_sums(42);   // false
```
Also feel free to reuse/extend the following starter code:
```python
def has_two_cube_sums(n):
```