This can be simplified as:

```coffeescript
isTravisProject: (callback) ->
  return unless callback instanceof Function
  return callback(false) unless atom.project.path
  conf = path.join(atom.project.path, '.travis.yml')
  fs.exists(conf, callback)
```