I'm currently experimenting with promises and have a really basic question!

Within a promise chain, would it be bad practice to call a synchronous function? For example:

```
.then(function(results) {

    if(checkIfResultInMemory(results) === true){
       return getTotalFromMemory()
    }

   return results;

  })

```

Or should my sync functions be refactored to return promises also?