How about
``` java
if (sourceObject == null || sequence == null) {
   return sourceObject;
}
```
?