Fixes #150

* Added helper methods to context.go and check them in actions.go and
  cmd/trousseau/before.go