this should be:

```Python
if not isinstance(goeslc, GOESLightCurve):
    raise ValueError("goeslc must be a GOESLightCurve object")
```